Commit a7082210 authored by Donald Chen's avatar Donald Chen
Browse files

500ms timeout

parent 6bcea3b2
......@@ -230,8 +230,8 @@ static adapter_t * adapter_init(char * serial_port, uint32_t baud_rate)
baud_rate,
SD_RPC_FLOW_CONTROL_NONE,
SD_RPC_PARITY_NONE);
data_link_layer = sd_rpc_data_link_layer_create_bt_three_wire(phy, 100);
transport_layer = sd_rpc_transport_layer_create(data_link_layer, 100);
data_link_layer = sd_rpc_data_link_layer_create_bt_three_wire(phy, 500);
transport_layer = sd_rpc_transport_layer_create(data_link_layer, 500);
return sd_rpc_adapter_create(transport_layer);
}
......
......@@ -197,8 +197,8 @@ static adapter_t * adapter_init(char * serial_port, uint32_t baud_rate)
baud_rate,
SD_RPC_FLOW_CONTROL_NONE,
SD_RPC_PARITY_NONE);
data_link_layer = sd_rpc_data_link_layer_create_bt_three_wire(phy, 100);
transport_layer = sd_rpc_transport_layer_create(data_link_layer, 100);
data_link_layer = sd_rpc_data_link_layer_create_bt_three_wire(phy, 500);
transport_layer = sd_rpc_transport_layer_create(data_link_layer, 500);
return sd_rpc_adapter_create(transport_layer);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment