3 Replies Latest reply on Oct 26, 2014 10:08 PM by JaWa_2142591 Branched from an earlier discussion.

    New questions related to starting connections in a central role...

      Hi,

       

      I have some questions related to starting connections in a central role. Basically I would like to know what the control flow would have to be if I want to initiate a connection. From what I would guess now the following could work:

      blecen_Conn(HIGH_CONN, evt->wd_addr, evt->addressType);

       

      bleprofile_sendWriteCmd(0x002a,(uint8_t*)&current_msg , 2);

       

      blecen_Conn(NO_CONN, NULL, 0);

       

      I'm not sure though whether I have to wait for anything after blecen_Conn() or whether I can just assume that a connection exists upon completion.

       

      For a start I would assume I don't have to worry about ConMux if only one connection exists at a time.