![]() |
m2mb API docs
30.00.007
m2mb API sets documentation
|
Header file for m2mb_fwautosim APIs. More...
Go to the source code of this file.
Enumerations | |
| enum | M2MB_FWAUTOSIM_IND_E { M2MB_FWAUTOSIM_UP, M2MB_FWAUTOSIM_DOWN, M2MB_FWAUTOSIM_DATA_RECV } |
Functions | |
| M2MB_RESULT_E | m2mb_fwautosim_init (M2MB_FWAUTOSIM_HANDLE *h, m2mb_fwautosim_ind_callback callback, void *userdata) |
| m2mb_fwautosim_init initializes FWAUTOSIM service for current client. More... | |
| M2MB_RESULT_E | m2mb_fwautosim_set (M2MB_FWAUTOSIM_HANDLE h, UINT8 type) |
| m2mb_fwautosim_set enable/disable fwautosim More... | |
| M2MB_RESULT_E | m2mb_fwautosim_deinit (M2MB_FWAUTOSIM_HANDLE h) |
| m2mb_fwautosim_deinit deinitializes FWAUTOSIM service for current client. More... | |
Header file for m2mb_fwautosim APIs.
m2m/m2m_generic/common/m2mb_inc/m2mb_fwautosim.h
m2m base fwautosim api prototype
@notes Dependencies: m2mb_types.h
| M2MB_RESULT_E m2mb_fwautosim_deinit | ( | M2MB_FWAUTOSIM_HANDLE | h | ) |
m2mb_fwautosim_deinit deinitializes FWAUTOSIM service for current client.
m2mb_fwautosim_deinit deinitialize FWAUTOSIM service for current client, freeing the handle passed as first parameter. Calling the m2mb_fwautosim_deinit is useful after using the FWAUTOSIM service in order to free memory space.
| [in] | h | is the handle to the FWAUTOSIM service, that will be deinitialized by the function. |
| M2MB_RESULT_E m2mb_fwautosim_init | ( | M2MB_FWAUTOSIM_HANDLE * | h, |
| m2mb_fwautosim_ind_callback | callback, | ||
| void * | userdata | ||
| ) |
m2mb_fwautosim_init initializes FWAUTOSIM service for current client.
m2mb_fwautosim_init initialize FWAUTOSIM service for current client returning the handle that must be passed as first parameter for all FWAUTOSIM actions. Calling the m2mb_fwautosim_init is mandatory before using the FWAUTOSIM service.
| [in] | *h | is the pointer to the handle to the FWAUTOSIM service, that will be initialized by the function. |
| [in] | callback | is the callback that will be called if an event or a response happens. |
| [in] | userdata | is a pointer to generic user data that will be returned as it is in the callback. |
| M2MB_RESULT_E m2mb_fwautosim_set | ( | M2MB_FWAUTOSIM_HANDLE | h, |
| UINT8 | type | ||
| ) |
m2mb_fwautosim_set enable/disable fwautosim
m2mb_fwautosim_set allows to set value of fwautosim (0-1)
| [in] | h | is the handle to the FWAUTOSIM service |
| [in] | type | is fwautosim value assigned by at cmd |