Here is a list of exceptions that occur when working with SDK. You need to be guided by this list in order to understand what happened in the process of executing a particular method.
Code | Description |
100 | Invalid scan parameters are specified |
101 | Invalid sensor types are specified for the search |
102 | Failed to create sensor scanner |
103 | Failed to started sensor scanner |
104 | Failed to stopped sensor scanner |
105 | Failed to get a list of sensors |
106 | Failed to get a list of sensors |
107 | Invalid parameters for creating a sensor |
108 | Failed to create sensor |
109 | Sensor not found |
110 | Failed to connect the sensor |
111 | Failed to disconnect the sensor |
112 | Failed to get a list of sensor features |
113 | Invalid parameters for get a list features of the sensor |
114 | Invalid parameters for get a list commands of the sensor |
115 | Failed to get a list of sensor commands |
116 | Invalid parameters for get a list parameters of the sensor |
117 | Failed to get a list of sensor parameters |
118 | Failed to execute the sensor command |
119 | Failed read the sensor parameter |
120 | Failed read the sensor parameter |
121 | Failed write the sensor parameter |
122 | Failed write the sensor parameter |
123 | Failed add callback the sensor |
124 | Failed add callback the sensor |
Important! iOS/Mac SDK is written on Objective-C, so for catching exceptions from Swift you need to use ObjC exceptions.
© Copyright 2016 - 2024 | BrainBit - EEG wearable headband | All Rights Reserved
A verification email has been sent to your email address
You have successfully subscribed to the SDK update mailing list.
Please, try again