Code:
NRF.setAdvertising({},{
name: "Mydevice", // The name of the device
showName: true, // include full name, or nothing
discoverable: true, // general discoverable, or limited - default is limited
connectable: true, // whether device is connectable - default is true
interval: 600, // Advertising interval in msec, between 20 and 10000
manufacturer: 0x0590, // IF sending manufacturer data, this is the manufacturer ID
});
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.
Code:
NRF.setAdvertising({},{
name: "Mydevice", // The name of the device
showName: true, // include full name, or nothing
discoverable: true, // general discoverable, or limited - default is limited
connectable: true, // whether device is connectable - default is true
interval: 600, // Advertising interval in msec, between 20 and 10000
manufacturer: 0x0590, // IF sending manufacturer data, this is the manufacturer ID
});