My particular application communicates with a peripheral set to require Write with response. I was only able to correctly write to a characteristic by changing the following line to false to allow Write with response. Would be useful to send option from node (ex. msg.WriteWithResponse=true, ....=false, etc).
// true if for write without response
characteristic.write(data, false, function(error) {
My particular application communicates with a peripheral set to require
Write with response
. I was only able to correctly write to a characteristic by changing the following line to false to allowWrite with response
. Would be useful to send option from node (ex. msg.WriteWithResponse=true, ....=false, etc).