C++ API MblMwBtleConnection Question

Hello.
I would like to know more about the initialization of 'MblMwBtleConnection'.
You are providing examples of:
int main(int argc, char **argv) {
MblMwBtleConnection btle_conn = { write_gatt_char, read_gatt_char, enable_char_notify };
MblMwMetaWearBoard* board = mbl_mw_metawearboard_create(&btle_conn);
}
Please give me a more detailed example of MblMwBtleConnection initialization.
MblMwBtleConnection btle_conn = { write_gatt_char, read_gatt_char, enable_char_notify };
This single line code did not make me understand the initialization.
Please give me a detailed example.
Thank you. bye.

Comments

  • www.mbientlab.com/developers

  • @Laura said:
    www.mbientlab.com/developers

    I was read the document on the link.
    I could find the above example code in the document.
    I didn't understand the example code, so please give me a detailed answer.

Sign In or Register to comment.