About sleep mode

Hi,

I'm confused with the functions (sd_power_mode_set and sd_app_event_wait). 1.I think there are described with the same function.I can't tell the difference between this two.And I can't find the function that is used to wake up the chip. 2.Can someone tell me where I can find the define of the Constant Latency and Low Power.

Thank you.

Parents
  • Hi Birnir,

    Thanks a lot,about question 4,I use the way:

    /* Enable RSSI level for received messages */ sd_ant_lib_config_set(ANT_LIB_CONFIG_MESG_OUT_INC_RSSI);

    Then each time you receive a payload, byte 13 in event_message_buffer will contain the RSSI value, when reading out the event by: /* Fetch the event */ return_value = sd_ant_event_get(&ant_channel, &event, event_message_buffer);

    and the event_message_buffer[13] is the RSSI . Is this right?or can you tell me the difference between what you told me and what I do.Also,the value 200 I got should be pocess from twos complement to true form?

Reply
  • Hi Birnir,

    Thanks a lot,about question 4,I use the way:

    /* Enable RSSI level for received messages */ sd_ant_lib_config_set(ANT_LIB_CONFIG_MESG_OUT_INC_RSSI);

    Then each time you receive a payload, byte 13 in event_message_buffer will contain the RSSI value, when reading out the event by: /* Fetch the event */ return_value = sd_ant_event_get(&ant_channel, &event, event_message_buffer);

    and the event_message_buffer[13] is the RSSI . Is this right?or can you tell me the difference between what you told me and what I do.Also,the value 200 I got should be pocess from twos complement to true form?

Children
No Data
Related