Skip to content

Events Related to Interaction Between the Device and Developer Center

Event Callback Format:

Directly Connected Device Or Gateway Device

(*eventCB)(event, errcode, value, valLen)

Sub-device

(*eventCb)(event, errcode, subPk, subDk, value, valLen)

Callback Event Description:

  • event :Integer type. Event identifier.
    • 1 :Bootstrap Authentication Event
    • 2 :Access Event
    • 3 :Subscription Event
    • 4 :Data Sending Event
    • 5 :Data Receiving Event
    • 6 :Deregistration Event
    • 7 :OTA Event
    • 8 :Developer Center Event
    • 9 : Wake-up Event
    • 10 :Sub-device Deregistration Event
    • 30 :Data Acquisition Event

  • subPK :const void * type. ProductKey generated when a product is created on Developer Center.
  • subDK :const void * type. Unique identifier of the sub-device.
  • errcode:Integer type. Event return code.
  • value:const void * type. Data carried by the event.
  • valLen:qint32_t type. Length of data carried by the event.

1:Bootstrap Authentication Event

Event ID, Event CodeCarried ValueDescriptionReason and Treatment
1,10200NULLSuccessful device authentication.
1,10300NULLOther errors.Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
1,10404NULLAn error occurred when Developer Center called the API.Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
1,10421NULLStatic devices cannot re-register.Execute the correct command to configure DeviceSecret of the device with static authentication.
1,10422NULLThe device is authenticated (Connection failed).Incorrect DeviceSecret. Please reset the DeviceSecret on Developer Center.
1,10423NULLFailed to query the product information (Connection failed).Incorrect ProductKey. Please check the ProductKey.
1,10424NULLFailed to decode PAYLOAD (Connection failed).Possible reason 1: Incorrect ProductKey. Please check the ProductKey.
Possible reason 2: Failed to decode the DeviceSecret. Please check the consistency between the module DeviceSecret and the DeviceSecret assigned by Developer Center.
1,10425NULLSignature verification failed (Connection failed).Illegal DeviceKey. DeviceKey must be 4 to 32 characters long and contain numbers, capital letters or lowercase letters.
1,10427NULLHash information is illegal (Connection failed).Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
1,10431NULLDK is illegal (Connection failed).Illegal DeviceKey. DeviceKey must be 4 to 32 characters long and contain numbers, capital letters or lowercase letters.
1,10433NULLFlag is illegal.Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
1,10434NULLClientID is not matched with the password (The password contains ClientID-related information).Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
1,10440NULLThe gateway is not associated with the sub-device.
1,10450NULLDevice internal error (Connection failed).Possible reason 1: No available network. Please check whether the device is connected to the antenna and registered on the network.
Possible reason 2: Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
1,10500NULLDevice authentication to Developer Center failed (Unknown error in the system).Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.

2:Access Event

Event ID, Event CodeCarried ValueDescriptionReason and Treatment
2,10200NULLRegistered successfully.
2,10404NULLAn error occurred when Developer Center called the API.Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
2,10430NULLDeviceSecret is incorrect (Connection failed).Incorrect DeviceSecret. Please reset the DeviceSecret on Developer Center.
2,10431NULLDevice is disabled (Connection failed).Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
2,10433NULLFlag is illegal.Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
2,10434NULLClientID is not matched with the password (The password contains ClientID-related information).Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
2,10437NULLDeviceSecret is incorrect.Please initiate a request to connect the device to Developer Center or wait for the device to access Developer Center automatically.
2,10438NULLDeveloper Center cannot get the device information.Please initiate a request to connect the device to Developer Center or wait for the device to access Developer Center automatically.
2,10441NULLThe sub-device connects to Developer Center successfully.
2,10450NULLDevice internal error (Connection failed).Possible reason 1: No available network. Please check whether the device is connected to the antenna and registered to the network.
Possible reason 2: Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
2,10471NULLThe implementation version is not supported (Connection failed).Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.
2,10473NULLAccess heartbeat error (Connection timeout).No available network. Please check whether the device is connected to the antenna and registered to the network.
2,10474NULLNetwork error (Connection timeout).No available network. Please check whether the device is connected to the antenna and registered to the network.
2,10475NULLServer changed.Server or product information changed. Please edit the server or product information.
2,10476NULLAP connection error.No available network. Please check whether the device is connected to the antenna and registered to the network.
2,10477NULLThe device is disabled (Connection failed).Invalid DeviceKey. Please check whether the DeviceKey is valid.
2,10478NULLDevice reset failed.Perhaps you executed the command of configuring DeviceSecret of the device with static authentication to configure DeviceSecret of the device with dynamic authentication. Please check whether the device's authentication type is dynamic authentication.
2,10500NULLRegistration failed (unknown error in the system).Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.

3:Subscription Event

Event ID, Event CodeCarried ValueDescriptionReason and Treatment
3,10200NULLSubscription success.
3,10300NULLSubscription failure.Device internal error. Please contact Acceleronix Product Dept FAE to capture logs for analysis.

4:Data Sending Event

Event ID, Event CodeCarried ValueDescriptionReason and Treatment
4,10200NULL/qint32_t* typeSent transparent transmission data successfully.
4,10210NULL/qint32_t* typeSent TSL data successfully.
4,10220NULL/qint32_t* typeSent location data successfully.
4,10230NULL/qint32_t* typeSent status data successfully.
4,10240NULL/qint32_t* typeSent device information successfully.
4,10250<time>,"<time_zone>","<timestamp>"Sent NTP information successfully.
4,10300NULL/qint32_t* typeFailed to send transparent transmission dataPossible reason 1: The length of data sent by the device is different from that configured with Write Command. Please check whether the data length is correct.
Possible reason 2: The length of data sent by the device is greater than the maximum length supported by the module.
Possible reason 3: The device has not connected to Developer Center. Please ensure the device has been connected to Developer Center.
4,10310NULL/qint32_t* typeFailed to send TSL data.Possible reason 1: The length of data sent by the device is different from that configured with Write Command. Please check whether the data length is correct.
Possible reason 2: The length of data sent by the device is greater than the maximum length supported by the module.
Possible reason 3: The device is not connected to Developer Center. Please ensure the device is connected to Developer Center.
4,10320NULL/qint32_t* typeFailed to send location data.
4,10330NULL/qint32_t* typeFailed to send status data.
4,10340NULL/qint32_t* typeFailed to send device information.
4,10350NULL/qint32_t* typeFailed to NTP information.
4, 10400NULL/qint32_t* typeSending transparent transmission data is refused.
4, 10410NULL/qint32_t* typeSending TSL data is refused.
4, 10420NULL/qint32_t* typeSending positioning data is refused.

5:Data Receiving Event

Event ID, Event CodeCarried ValueDescriptionReason and Treatment
5,10200uint8_t* t typeReceived the transparent transmission data issued by Developer Center.The received downlink data is issued directly if the module is in unbuffered mode.
5,10210TTLV pointer typeReceived the TSL data issued by Developer Center.The received downlink data is issued directly if the module is in unbuffered mode.
5,10211uint16_t array type. Format:<pkgId>,<ID1>,<ID2>…Received the request for TSL model from Developer Center.
<pkgId> request package ID issued by Developer Center.
<ID> TSL ID.
5,10212<PkgID>,<length>,[<data>]Received the TSL service data issued by Developer Center.
5,10428uint8_t* t typeTraffic limiting caused by excessive device cache.
5,10473NULLFailed to receive the data whose length exceeds the device cache limit.

6:Deregistration Event

Event ID, Event CodeCarried ValueDescription
6,10200NULLSuccessful deregistration (successful disconnection).
6,10201NULLSuccessful sub-device deregistration (successful disconnection).

7:OTA Event

Event ID, Event CodeCarried ValueDescriptionReason and Treatment
7,10700String type. Format: "<componentNo>","<sourceVersion>","<targetVersion>",<batteryLimit>,<minSignalIntensity>,<useSpace>There is an upgrade task.
<componentNo> Component identifier.
<sourceVersion> Source version.
<targetVersion> Target version.
<batteryLimit> Minimum power required for an OTA upgrade.
<minSignalIntensity> Minimum signal strength in an OTA upgrade.
<useSpace> Disk space required for an OTA upgrade.
7,10701String type. Format: "<componentNo>","<length>","<MD5>"The device started downloading firmware package.
<componentNo> Component identifier.
<length> Size of the firmware package in an OTA upgrade.
<MD5> md5 value of firmware package in an OTA upgrade.
7,10702NULLFirmware download in progress.
7,10703String type. Format: "<componentNo>","<length>","<startaddr>","<piece_length>"The firmware package was downloaded successfully.
<componentNo> Component identifier.
<length> Size of the firmware package in an OTA upgrade.
<startaddr> Start address of the current downloaded block in the OTA upgrade package.
<piece_length> Size of the current file block.
7,10704NULLFirmware upgrading in progress.
7,10705NULLFirmware upgrade successful.
7,10706NULLFirmware upgrade failed.Possible reason 1: The target version is incorrect. Please check whether the target version you entered is correct.
Possible reason 2: Network disconnected during the OTA upgrade. Please check whether the network or signal was interrupted during the OTA upgrade.
Possible reason 3: The uploaded upgrade package is incorrect. Please check whether the uploaded upgrade package is valid.
7,10707NULLAdvertisement of the first device operation result.
7,10708NULLWaiting for sub-device operations timed out.

8:Developer Center Event

Event ID, Event CodeCarried ValueDescriptionReason and Treatment
8,10428NULLTraffic limiting caused by high-frequency messages on the device.Device sends messages too frequently. Please reduce the data-sending frequency.
8,10429NULLTraffic limiting caused by an excessive number of single device activations or daily requestsDevice activation code is insufficient. Please contact the local sales for price consultation and our sales will facilitate the purchase process and help to further the progress.
8,10442NULLSub-device deregistration failed.

Wake-up Event

Event ID, Event CodeCarried DataDescription
9,10200NULLDevice was woken up from deep sleep.
9,10300NULL唤醒设备从深度睡眠模式错误

10:Sub-device Deregistration Event

Event ID, Event CodeCarried ValueDescription
10,10200NULLSuccessful sub-device deregistration

30:Data Acquisition Event

Event ID, Event CodeCarried ValueDescription
30,0NULLData sent successfully.
30,1NULLData sending failed.
30,2NULLThe uplink data received per second exceeded the threshold. Developer Center stops receiving uplink data. Unit: s.
30,3NULLData sending failed. Please try again.
30,10NULLFailed to connect to the data acquisition server.
30,11NULLThe uplink ended abnormally due to a transmission error.
30,12NULLThe data acquisition channel is not enabled.
30,13NULLServer connection failed. Please try again.
30,20NULLThe data acquisition channel has been closed.