This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

direct assignment to ble_gap_conn_params_t variable

Hello Nordic support team,

Forgive me if I am asking a stupid question.

In the source file ble_conn_params.c, there is a function called ble_conn_params_init() and I found this direct assignment:

    m_preferred_conn_params = *p_init->p_conn_params;

but m_preferred_conn_params is a variable of ble_gap_conn_params_t which is a structure:

typedef struct {

uint16_t min_conn_interval;
/**< Minimum Connection Interval in 1.25 ms units, see @ref BLE_GAP_CP_LIMITS.*/

uint16_t max_conn_interval;
/**< Maximum Connection Interval in 1.25 ms units, see @ref BLE_GAP_CP_LIMITS.*/

uint16_t slave_latency;
/**< Slave Latency in number of connection events, see @ref BLE_GAP_CP_LIMITS.*/

uint16_t conn_sup_timeout;
/**< Connection Supervision Timeout in 10 ms units, see @ref BLE_GAP_CP_LIMITS.*/

} ble_gap_conn_params_t;

So why this direct assignment is possible?

Best Regards, Joseph

Parents
  • If you are searching for the best Assignment Help Sydney, I suggest you visit Instant Assignment Help. They have the most experienced and qualified writers. They offer their services to students from all around the Australia. They will do the best research and write 100% plagiarism free content.

  • Finding it hard to keep up with the rigorous demands of law school? Our law assignment help services are here for you. With a team of expert attorneys and academic writers, we have the legal chops to tackle any law assignment. Tell us your requirements and we'll craft a stellar paper that demonstrates keen legal analysis and reasoning. We'll conduct thorough research, format your paper perfectly, and back up analysis with rock-solid precedents and citations. With turnaround times as fast as 3 hours for urgent assignments, and plagiarism checking on every completed piece, you can trust us to deliver original, high-quality work every time, guaranteed. Stop stressing and let our law assignment helpers get you the grade you deserve.

Reply
  • Finding it hard to keep up with the rigorous demands of law school? Our law assignment help services are here for you. With a team of expert attorneys and academic writers, we have the legal chops to tackle any law assignment. Tell us your requirements and we'll craft a stellar paper that demonstrates keen legal analysis and reasoning. We'll conduct thorough research, format your paper perfectly, and back up analysis with rock-solid precedents and citations. With turnaround times as fast as 3 hours for urgent assignments, and plagiarism checking on every completed piece, you can trust us to deliver original, high-quality work every time, guaranteed. Stop stressing and let our law assignment helpers get you the grade you deserve.

Children
Related