Confidential & Proprietary Information
7.7 SYSTEM OTA EVENT NOTIFICATION SETTINGS
Supported OTA Events notifications code <OTAEventNotifyFlags>
• OTA_EVENT_NOTIFY_FLAGS_RESERVED_1 = 1
• OTA_EVENT_NOTIFY_FLAGS_RESERVED_2 = 2
• OTA_EVENT_NOTIFY_FLAGS_RESERVED_3 = 4
• OTA_EVENT_NOTIFY_FLAGS_INPUT_COUNT_MODULO = 8
• OTA_EVENT_NOTIFY_FLAGS_INPUT_ACCUMULATED_MODULO = 16
• OTA_EVENT_NOTIFY_FLAGS_INPUT_TRANSITION = 32
• OTA_EVENT_NOTIFY_FLAGS_INPUT_TRANSITION_HYSTERESIS = 64
• OTA_EVENT_NOTIFY_FLAGS_CHANGED_STATE = 128
• OTA_EVENT_NOTIFY_FLAGS_POWER_ON_DELAY = 256
• OTA_EVENT_NOTIFY_FLAGS_COUNT_ROLLOVER = 512
• OTA_EVENT_NOTIFY_FLAGS_ACCUMULATED_ROLLOVER = 1024
7.7.1 Set OTA Events Notify Flags via NUS, UART.
AT+CANSF = < OTAEventNotifyFlags >
7.7.2 Read OTA Events Notify Flags via NUS, UART.
AT+CANSF?
Response
+ CANSF: < OTAEventNotifyFlags >
7.7.3 Set OTA Events Notify Flags via Configuration Service
AT+CCNSF = < OTAEventNotifyFlags >
7.7.4 Read OTA Events Notify Flags via Configuration Service
AT+CCNSF?
Response
+ CCNSF: < OTAEventNotifyFlags >
Example:
• To receive count modulus and input transition event notification, the valid command to activate notification
AT+CANSF = 40 (32+8).
• To receive all system OTA event notifications, the valid command to activate all notifications AT+CANSF = 2047.
• To receive all system OTA event notifications over configuration service, the valid command to activate all
notifications AT+CCNSF = 2047.
• AT+CANSF = 2048, AT+CANSF = 1 , AT+CANSF = 2, AT+CANSF = 4 , AT+CANSF = 3 etc will return ERROR i.e.
configuring any reserved notification will return error.