Exported Functions

group FN_Exported_Functions

Functions

bool fn_init(uint8_t lpn_num, fn_params_t *pfn_params, pf_fn_cb_t pf_fn_cb)

initialize the friend node

参数:
  • lpn_num[in] the maxium supported lpn number

  • fn_params_t – fn parameters

  • pf_fn_cb[in] fn friendship info callback

返回值:
  • true – operation success

  • false – operation failure

返回:

operation result

void fn_deinit(void)

deinitialize the friend node to release resources

返回:

none

void fn_clear(void)

clear all the existing lpn

返回:

none