Exported Functions

group Mesh_Access_Exported_Functions

Typedefs

typedef int32_t (*dispatch_preprocess_t)(mesh_msg_p pmesh_msg)

access dispatch preprocess function type definition

Param pmesh_msg:

[in] mesh message need to process

Return:

process result

Functions

mesh_msg_send_cause_t access_cfg(mesh_msg_p pmesh_msg)

cfg the mesh message use the default or the publishing parameters

The caller may change any parameters later if she isn’t satisfied with the default values.

参数:

pmesh_msg[in] the mesh message

返回:

operation result

mesh_msg_send_cause_t access_send(mesh_msg_p pmesh_msg)

send the mesh message to the access layer

参数:

pmesh_msg[in] the mesh message

返回:

operation result

void access_dispatch(mesh_msg_p pmesh_msg)

dispatch the mesh message at the access layer

参数:

pmesh_msg[in] the mesh message

返回:

none

void access_set_dispatch_preprocess(dispatch_preprocess_t process)

set access dispatch preprocess function

参数:

process[in] preprocess function