Hi,
I am working on the asset_tracker application example on a Thingy:91 device. As I understand it, to activate the GPS it is necessary to keep the button pressed for a long time. Once active, the GPS could be activated by detecting a movement (using the accelerometer), but this happens when the GPS has been previously activated by prolonged pressing of the button.
However, I would like to make a modification that does the following:
1) The device is in sleep mode until it detects a movement.
2) When it detects a movement with the accelerometer it searches for LTE communication and activates the GPS automatically.
4) The device must have the GPS active and send position until a command is received (e.g. press the button).
I understand that it shouldn't be too complicated, but the tests I have done have not been satisfactory and I would appreciate any help.
Thank you!