Skip to content

Commit

Permalink
Change device BLE advertising name
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Livesey committed Jan 10, 2021
1 parent 7011d18 commit 1c43782
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ exports.start = function() {
Pixl.setLCDPower(false);

setTime(Date.parse("2021-01-01T00:00:00") / 1000);
NRF.setAdvertising({}, {name: "NanoPlay " + NRF.getAddress().substring(12).replace(":", "")});
NRF.nfcURL("https://subnodal.com/np");

require("display").clear();
Expand Down

0 comments on commit 1c43782

Please sign in to comment.