Hello,
I have developed and deployed both my MicroApp and Cloud App, everything works fine on Bluetooth connection (when my notebook is a bridge between a beacon and Estimote Cloud). But when LTE is disconnected, there is no synchronization between the Estimote Cloud and the LTE Beacon. Test was done in a few cities, everywhere results are the same. Some technical details:
-
I have tried to use two SIM cards: Orange card (works on data connection on smartphone) and the original Hologram one, results are the same for both cards. Beacon is fully charged.
-
Both cards have no PIN code active.
-
I use the following method to initially set LTE modem:
function setRadioTech() {
if (sensors.battery.getVoltage() < 3.6) {
print('battery is too low for cellular operations, recharge the beacon');
location.stop;
io.setLedColor(io.Color.RED);
io.led(true);
}
//modem.setAirplaneMode(false);
lte.setTech(lte.Tech.GSM_LTE, lte.Region.EUROPE)
.then(() => {
print('lte.setTech(lte.Tech.GSM_LTE, lte.Region.EUROPE) success');
})
.catch((error) => {
print('lte.setTech(lte.Tech.GSM_LTE, lte.Region.EUROPE) error: ' + error);
// if your micro-app can't function without cellular connectivity, you might
// want to keep re-trying until setTech succeeds
print('will retry setTech in 1 minute');
timers.single('1 min', () => modem.setRadioTech());
});
}
- Afterwards I wait over 10 minutes and (for diagnostic purposes) execute LTE diagnostic methods, I obtain the following results (no detailed error for getStatus function):
[07:38:02] getStatus error: Error
[07:38:47] getOperators: [{"name":"Orange","status":"curr","type":"gsm"},{"name":"Plus","status":"forbid","type":"gsm"},{"name":"T-Mobile.pl","status":"forbid","type":"gsm"},{"name":"Play","status":"forbid","type":"gsm"}]
[07:39:21] getCells: [{"name":"Orange PL","rssi":-73,"mcc":260,"mnc":3,"lac":53101,"cell":42291,"tech":"GSM","band":"GSM 900","channel":94},{"name":"Plus","rssi":-78,"mcc":260,"mnc":1,"lac":21405,"cell":29592,"tech":"GSM","band":"GSM 900","channel":8},{"name":"Play","rssi":-80,"mcc":260,"mnc":6,"lac":2125,"cell":27395,"tech":"GSM","band":"GSM 900","channel":997},{"name":"T-Mobile.pl","rssi":-78,"mcc":260,"mnc":2,"lac":53101,"cell":42574,"tech":"GSM","band":"GSM 900","channel":25}]
[07:39:21] getInfo: {"iccid":"/* ...correct serial number of inserted SIM card ... *","imei":"/* Beacon's IMEI number */","imsi":" /* ...correct IMSI number of inserted SIM card ... */ "}
- Communication between beacon and cloud is done using the following code, it works fine on Bluetooth connection:
On beacon side:
cloud.enqueue('my_type', { ...... });
sync.now();
On cloud side:
module.exports = async function (event) {
if (event.type === 'my_type') {
......
}
};
- In Web Estimote application, on " LTE Beacon Settings" page, information about SIM card is not updating:
IMSI (SIM Card) Number: /* IMSI number of original Hologram card /
IMEI Number: / device IMEI number */
Last Carrier: T-Mobile.pl Hologram
Data usage: 2 pings (304 KB) from Aug 6, 2019
- To test LTE connection I disconnect Bluetooth as described in the movie: https://www.youtube.com/watch?reload=9&v=UvTvzO5YstQ
Thanks in advance for your help!
Best regards