How do you want the text to be displayed? Next to the URL?
The text comes from the web page at that URL's title I believe.
I did actually have an example where I did require("ble_eddystone").advertise("goo.gl/D8sjLK#"+doorOpenings);
require("ble_eddystone").advertise("goo.gl/D8sjLK#"+doorOpenings);
It might be that you can actually have a script on there that changes the page's title based on the text in the link.
Otherwise if you only have a limited set of text you want to display you could just change the url:
require("ble_eddystone").advertise("http://www.david.com/a"); require("ble_eddystone").advertise("http://www.david.com/b"); // etc
@Gordon started
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.
How do you want the text to be displayed? Next to the URL?
The text comes from the web page at that URL's title I believe.
I did actually have an example where I did
require("ble_eddystone").advertise("goo.gl/D8sjLK#"+doorOpenings);
It might be that you can actually have a script on there that changes the page's title based on the text in the link.
Otherwise if you only have a limited set of text you want to display you could just change the url: