Hi! Thanks for your prompt repyl: where can I find reference to the
Bluetooth.on('data', function(d) { ... })
method? I couldn't find anything on the doc. Anyway, regarding the first method, do you think this is correct in my c# console? This is just a test:
else if (properties.HasFlag(GattCharacteristicProperties.Write))
{
Console.WriteLine($"\t \t Characteristic {characteristic.Uuid} has a write property ");
Console.WriteLine("-------------------------------- ");
var writer = new DataWriter();
// WriteByte used for simplicity. Other common functions - WriteInt16 and WriteSingle
writer.WriteByte(0x01);
writer.WriteString("\\x10X({my:\"data\"})\\n");
GattCommunicationS
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi! Thanks for your prompt repyl: where can I find reference to the
method? I couldn't find anything on the doc. Anyway, regarding the first method, do you think this is correct in my c# console? This is just a test: