|
Wirepas SDK
|
|
Go to the documentation of this file.
80 #define ERR_NOT_OPEN APP_RES_INVALID_NULL_POINTER
83 #define Sys_enterCriticalSection() \
84 lib_system ? lib_system->enterCriticalSection() : ERR_NOT_OPEN
86 #define Sys_exitCriticalSection() \
87 lib_system ? lib_system->exitCriticalSection() : ERR_NOT_OPEN
89 #define Sys_disableDs(_dis) \
90 lib_system ? lib_system->disableDeepSleep(_dis) : ERR_NOT_OPEN
92 #define Sys_enableAppIrq(_irqn, _isr) \
93 lib_system ? lib_system->enableAppIrq(false, _irqn, APP_LIB_SYSTEM_IRQ_PRIO_LO, _isr) : ERR_NOT_OPEN
95 #define Sys_disableAppIrq(_irqn) \
96 lib_system ? lib_system->disableAppIrq(_irqn) : ERR_NOT_OPEN
98 #define Sys_enableFastAppIrq(_irqn, _prio, _isr) \
99 lib_system ? lib_system->enableAppIrq(true, _irqn, _prio, _isr) : ERR_NOT_OPEN
101 #define Sys_clearFastAppIrq(_irqn) \
102 lib_system ? lib_system->clearPendingFastAppIrq(_irqn) : ERR_NOT_OPEN
105 #define Ble_beaconRx_setRxCb(_cb) \
106 lib_beacon_rx ? lib_beacon_rx->setBeaconReceivedCb(_cb) : ERR_NOT_OPEN
108 #define Ble_beaconRx_startScanner(_chan) \
109 lib_beacon_rx ? lib_beacon_rx->startScanner(_chan) : ERR_NOT_OPEN
111 #define Ble_beaconRx_stopScanner() \
112 lib_beacon_rx ? lib_beacon_rx->stopScanner() : ERR_NOT_OPEN
114 #define Ble_beaconRx_isStarted() \
115 (lib_beacon_rx ? lib_beacon_rx->isScannerStarted() : ERR_NOT_OPEN)
List of library functions.
List of library services.
bool API_Open(const app_global_functions_t *functions)
Open API (open all libraries)
List of library functions.
List of library functions.
List of global functions, passed to App_entrypoint()
const app_global_functions_t *global_func __attribute((weak))
List of library functions.
List of library functions.
List of library functions.