Access layer API MSCs

nRF5 SDK for Mesh v5.0.0

Access layer sequence diagrams. More...

Access layer sequence diagrams.

Application Access layer Allocate a model in the access layer and bind to an element access_model_add(&model_params, &model_handle) NRF_SUCCESS Device is provisioned and configured... Send message to another device (client to server) access_model_publish(handle, &message) opcode_cb(handle, p_message, p_args) access_model_reply(handle, p_message, &reply)
Basic access layer usage
Application Access layer Mesh network Model configured and ready. access_model_subscription_add() This function can also be called by the configuration model Incoming unacknowledged message Incoming unacknowledged message opcode_handler_cb(handle, message) Incoming acknowledged message Incoming acknowledged message opcode_handler_cb(handle, message) access_model_reply(handle, message, reply) Message reply
Receiving an access layer message
Application Access layer Provisioner Set publication state (address, interval, ...) publish_timeout_cb(handle, args) access_model_publish(handle, message) publish_timeout_cb(handle, args) access_model_publish(handle, message) publish_timeout_cb(handle, args) access_model_publish(handle, message)
Periodic publishing