You are reading a single comment by @Vlad and its replies. Click here to read the full conversation.
  • Just thinking about the structure more, I think it is better to have something like that:

    NRF.setServices({
      0xBCDE : {
        0xABCD : {
          value : "Hello", 
          readable: true,
          writable : true,
          security: {
            read: {
              encrypted: false,
              mitm: false,
              lesc: false,
              signed: false
            },
            write: {
              encrypted: true,
              mitm: false,
              lesc: false,
              signed: false
            }
          }
        }
      }
    });
    

    Here is my branch it is still in wip and untested.

About

Avatar for Vlad @Vlad started