This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to disable SensorTag Auto-Sleep Mode (Prevent it not to power-off in a period of time)

Prodigy 10 points

Replies: 12

Views: 6150

I want to make it Always standby~

Please help me!

If it is has to modify firmware code, please tell me how to do it, Thanks!!

  • Guru 57705 points

    Hi Ju Chun,

    You can use the osal_pwrmgr_device function from the application to allow and disallow power saving. Example;

    • osal_pwrmgr_device( PWRMGR_ALWAYS_ON ); // To keep device on
    • osal_pwrmgr_device( PWRMGR_BATTERY ); // Revert to battery mode 

    Best Regards

    Joakim Lindh

    Regards, Joakim

     

  • In reply to J Lindh:

    Hi Joakim,

    we have the same issue with our project. Do you have any information on how to do this from an iOS app?

    Thanks in advance

    Sascha

  • Guru 57705 points

    In reply to Sascha Uhl:

    Hi Sascha,

    You have to modify the embedded sensor tag code, but you can implement a characteristic that essentially which this functionality on and off. There is no way of achieving the functionality from iOS side only.

    Best Regards

    Joakim 

    Regards, Joakim

     

  • In reply to J Lindh:

    Which library are those functions in?

  • In reply to fujiwara futoshi:

    i have also same problem, sorry i'm not a programmer so can i disable auto power off from standard application? i need to set it on a remote site not easy to touch every time i need to read data.
    thanks
  • Guru 57705 points

    In reply to Marco Tonoli:

    Hey,
    If you disable the sensor from the App and then make sure that the sensortag is not connected/advertising, it will automatically enter sleep mode.

    Best Regards
    Joakim

    Regards, Joakim

     

  • In reply to J Lindh:

    yes but i need to prevent this.
    I need to set this sensor in a place remote and when i'm near with my android phone, i can connect to it and get some data.
    Now when i'm near i need to click lateral button to wake up sensor, not good.
    battery is not a problem, i'll give external power source.

    is this possible? i see your answer:
    "You can use the osal_pwrmgr_device function from the application to allow and disallow power saving. Example;

    osal_pwrmgr_device( PWRMGR_ALWAYS_ON ); // To keep device on
    osal_pwrmgr_device( PWRMGR_BATTERY ); // Revert to battery mode "

    but i'm not a programmer so i do not know how to achieve this.
  • In reply to Marco Tonoli:

    You may want to have a look at the firmware we created:
    www.myweathercenter.net/installing-a-new-firmware-for-ti-sensortag

    Best regards
    Sascha
  • In reply to Sascha Uhl:

    Hi Sasha

    did you think to make an android solution ? the android software from TI i terrible and stupid (and don not work well) especially new release.

    also i thnk maybe more simple buy and use a 50$ android tablet than a 500$ ipad....

    if you need a beta tester tell me

    thanks

  • In reply to Sascha Uhl:

    Hi Sasha, 

    I want to disable Auto sleep mode of SensorTag 2.0. I went through your post to change the firmware for sensor tag using iOS app. It mentions that it will work only work for SensorTag and not SensorTag 2.0 .Do you have any such solutions for the sensortag 2.0 ?

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.