write request and write command, how to send please?

Hi, Support

I am developing a central application, which works with NordicLBS example, the original code is based on BAS battery level central app.  now I try to modify the code to work with another peripheral, and it is not working, sniffer shows when working with NordicLBS peripheral, it sends out write request(with Opcode 0x12) to write LED on/off , while when control another peripheral, the write Opcode is 0x20 - write command. 

I cannot see anywhere in the code which I can change the Opcode when I am sending out a write to server, could you please point me to the right direction ? when to use write request? and when to use write command, and where I can change it please?

Thanks !

Ping

Related