File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
test/nanostack/unittest/6LoWPAN Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -132,14 +132,14 @@ bool test_ws_wp_nested_hopping_schedule_length()
132
132
}
133
133
134
134
shedule .channel_plan = 1 ;
135
- shedule .channel_function = 1 ;
135
+ shedule .uc_channel_function = 1 ;
136
136
length = ws_wp_nested_hopping_schedule_length (& shedule , true);
137
137
if (length != 4 + 6 )
138
138
{
139
139
return false;
140
140
}
141
141
shedule .channel_plan = 2 ;
142
- shedule .channel_function = 3 ;
142
+ shedule .uc_channel_function = 3 ;
143
143
144
144
length = ws_wp_nested_hopping_schedule_length (& shedule , true);
145
145
if (length != 6 )
@@ -168,14 +168,14 @@ bool test_ws_wp_nested_hopping_schedule_write()
168
168
}
169
169
170
170
shedule .channel_plan = 1 ;
171
- shedule .channel_function = 1 ;
171
+ shedule .uc_channel_function = 1 ;
172
172
ptr = ws_wp_nested_hopping_schedule_write (temp_buf , & shedule , true);
173
173
if (ptr != temp_buf + 10 + 2 ) {
174
174
return false;
175
175
}
176
176
177
177
shedule .channel_plan = 2 ;
178
- shedule .channel_function = 3 ;
178
+ shedule .uc_channel_function = 3 ;
179
179
ptr = ws_wp_nested_hopping_schedule_write (temp_buf , & shedule , false);
180
180
if (ptr != temp_buf + 10 + 2 + 2 ) {
181
181
return false;
Original file line number Diff line number Diff line change @@ -225,29 +225,29 @@ bool test_ws_management_fhss_channel_function_configure()
225
225
226
226
protocol_core_stub .entry_ptr = NULL ;
227
227
228
- if (-1 != ws_management_fhss_channel_function_configure (1 ,10 ))
228
+ if (-1 != ws_management_fhss_unicast_channel_function_configure (1 ,10 ))
229
229
{
230
230
return false;
231
231
}
232
232
protocol_core_stub .entry_ptr = & entry ;
233
233
234
- if (-1 != ws_management_fhss_channel_function_configure (1 ,10 ))
234
+ if (-1 != ws_management_fhss_unicast_channel_function_configure (1 ,10 ))
235
235
{
236
236
return false;
237
237
}
238
238
entry .ws_info = & ws_info_entry ;
239
- if (-2 != ws_management_fhss_channel_function_configure (1 ,10 ))
239
+ if (-2 != ws_management_fhss_unicast_channel_function_configure (1 ,10 ))
240
240
{
241
241
return false;
242
242
}
243
243
244
244
entry .lowpan_info = 0 ;
245
- if (0 != ws_management_fhss_channel_function_configure (1 ,0 ))
245
+ if (0 != ws_management_fhss_unicast_channel_function_configure (1 ,0 ))
246
246
{
247
247
return false;
248
248
}
249
249
entry .lowpan_info = INTERFACE_NWK_ACTIVE ;
250
- if (0 != ws_management_fhss_channel_function_configure (1 ,0 ))
250
+ if (0 != ws_management_fhss_unicast_channel_function_configure (1 ,0 ))
251
251
{
252
252
return false;
253
253
}
You can’t perform that action at this time.
0 commit comments