Project

General

Profile

Revision 1779

wireless: moving to API mode 2

View differences:

branches/wireless/code/projects/libwireless/xbee.c
851 851
  xbee_wait_for_ok();
852 852
  WL_DEBUG_PRINT_P("entered command mode 2\r\n");
853 853
  
854
  if (xbee_enter_api_mode() != 0) {
855
    WL_DEBUG_PRINT_P("can't enter api mode\r\n");
854
  if (xbee_enter_api_mode2() != 0) {
855
    WL_DEBUG_PRINT_P("can't enter api mode 2\r\n");
856 856
    return -1;
857 857
  }
858 858
  

Also available in: Unified diff