This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Question of nRF51822 BLE Stack API firmware ...

image description

The nRF51822 BLE stack API source for the above question ...

fp_handler = conn_mw_item [i] .fp_handler; For fp_handler function pointer, I want to get information about a function is executed internally ....

And

err_code = fp_handler (p_rx_buf, rx_buf_len, p_tx_buf, p_tx_buf_len); In

Send to the sensor module from a Bluetooth smartphone control data values, do you read the control data value in a variable called p_rx_buf?

For more answers thank you ...

Bandi and Communication Technology / Principal Developer Jang SeokWeon http://www.bandion.co.kr Email : [email protected]

  • Please have a look at conn_mw_items.c - there you'll find table of pointers to functions. In same directory you'll find those functions implementation.

    The code you have shown is fragment of serialization module. Function pointed by fp_handler decodes request that came through serial port and is located in p_rx_buf then call required soft device function and finally encodes response in p_tx_buf.

Related