Loading…
Loading…
Method Name: ejx_method_chg_univ_rev
Method ID: 0x41BA
Method Label: Chg universal rev
Method Help: Chg universal rev- Change the universal command revision.
- {
- long var_id[5];
- long next_universal_rev;
- long next_device_rev;
- long object_universal_rev;
- int cancel_flg;
- int i;
- char status[3];
- char disp_string1[60];
- int slen1;
- slen1 = 60;
- { _set_all_resp_code(0); _set_device_status(0xFF,0); _set_xmtr_device_status(0xFF,0); _set_xmtr_all_resp_code(0); };
- _iassign(16568,(0x5255));
- _iassign(16569,(0x01));
- send( 188, status );
- if( status[0] ) {
- display_response_status( 188, status[0] );
- process_abort();
- }
- send( 188, status );
- send_command( 187 );
- if ( _ivar_value(16573) != 1 ) {
- ACKNOWLEDGE("|en|This function is not supported." );
- process_abort();
- }
- _get_dictionary_string(19726337,(disp_string1),(slen1));
- ACKNOWLEDGE(disp_string1);
- ACKNOWLEDGE("|en|Confirm that the configuration tool supports \nnew universal rev.\nAfter the universal rev is changed, \nthe following operations are required.\n 1 Exit the configuration tool.\n 2 Power OFF and ON the device.\n 3 Restart the configuration tool.\n" );
- _iassign(16568,(0x5255));
- _iassign(16569,(0x02));
- send( 188, status );
- if( status[0] ) {
- display_response_status( 188, status[0] );
- process_abort();
- }
- send( 188, status );
- send_command( 187 );
Please login for more