Loading…

Method Name: api_setup

Method ID: 0x42C0

Method Label: API Setup

Method Help: This method will step the user through setting up the API parameters.


  • {
  • char status[3];
  • int numberChoice;
  • int letterChoice;
  • int enableApi;
  • long var_id[1];
  • char disp_string[100];
  • char disp_string1[100];
  • int slen;
  • int slen1;
  • slen1 = 100;
  • slen = 100;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _get_dictionary_string(858587159,disp_string,slen);
  • ACKNOWLEDGE(disp_string);
  • _add_abort_method(17150);
  • send(216,status);
  • _get_dictionary_string(858587211,disp_string,slen);
  • _get_dictionary_string(858587213,disp_string1,slen1);
  • numberChoice = SELECT_FROM_LIST(disp_string,disp_string1);
  • if (numberChoice == 0 || numberChoice == 2 || numberChoice == 4)
  • {
  • _get_dictionary_string(858587212,disp_string,slen);
  • _get_dictionary_string(858587214,disp_string1,slen1);
  • letterChoice = SELECT_FROM_LIST(disp_string,disp_string1);
  • _fassign(16832,0.00056);
  • }
  • else
  • {
  • _get_dictionary_string(858587215,disp_string,slen);


Please login for more