i am working on mesh application using two nrf51822 and one nrf2832. I started from light-switch examples. nrf51 set as two server and nrf52 as a client . In server side integrated with i2c sensor so in mesh application also integrated with ble application (nrf51 SDK V14.2.0 ) for I2C. I want to send sensor data from server to client then from client to android phone. From client side based app_uart example i implemented custom services. So i can able to send data from client to phone through custom services.
My question is how to send data from server to client ?? right now i'm using " access_model_publish(access_model_handle_t handle, const access_message_tx_t * p_message) " to send data from server to client and " static void handle_status_cb(access_model_handle_t handle, const access_message_rx_t * p_message, void * p_args) " to receive in client side. Is this correct way ?? Using this method i cant send data in fast. Or i want to implement custom services from server side also???
Pls help to solve this issue!!!
Pls give me some tutorial how to send data through mesh application ?? !!