File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -516,10 +516,8 @@ static int8_t ws_fhss_discovery_configure(protocol_interface_info_entry_t *cur)
516
516
memcpy (& fhss_configuration , ns_fhss_ws_configuration_get (cur -> ws_info -> fhss_api ), sizeof (fhss_ws_configuration_t ));
517
517
}
518
518
519
- fhss_configuration .fhss_uc_dwell_interval = 0 ;
520
519
fhss_configuration .ws_uc_channel_function = WS_FIXED_CHANNEL ;
521
520
fhss_configuration .ws_bc_channel_function = WS_FIXED_CHANNEL ;
522
- fhss_configuration .fhss_bc_dwell_interval = 0 ;
523
521
fhss_configuration .fhss_broadcast_interval = 0 ;
524
522
uint8_t tmp_uc_fixed_channel = ws_randomize_fixed_channel (cur -> ws_info -> fhss_uc_fixed_channel , cur -> ws_info -> hopping_schdule .number_of_channels );
525
523
uint8_t tmp_bc_fixed_channel = ws_randomize_fixed_channel (cur -> ws_info -> fhss_bc_fixed_channel , cur -> ws_info -> hopping_schdule .number_of_channels );
Original file line number Diff line number Diff line change @@ -298,6 +298,10 @@ int8_t ws_common_allocate_and_init(protocol_interface_info_entry_t *cur)
298
298
cur -> ws_info -> hopping_schdule .regulatory_domain = REG_DOMAIN_EU ;
299
299
cur -> ws_info -> hopping_schdule .operating_mode = OPERATING_MODE_3 ;
300
300
cur -> ws_info -> hopping_schdule .operating_class = 2 ;
301
+ // Clock drift value 255 indicates that information is not provided
302
+ cur -> ws_info -> hopping_schdule .clock_drift = 255 ;
303
+ // Timing accuracy is given from 0 to 2.55msec with 10usec resolution
304
+ cur -> ws_info -> hopping_schdule .timing_accurancy = 100 ;
301
305
ws_common_regulatory_domain_config (cur );
302
306
cur -> ws_info -> network_size_config = NETWORK_SIZE_MEDIUM ;
303
307
cur -> ws_info -> rpl_parent_candidate_max = WS_RPL_PARENT_CANDIDATE_MAX ;
You can’t perform that action at this time.
0 commit comments