@@ -247,23 +247,45 @@ If not, repeat the above steps.
247247
248248.. note ::
249249
250- Both bulk and network mode remain enabled.
250+ Both bulk and network mode remain enabled.
251+ The ``link_select `` parameter in the platform configuration should be
252+ ``use_uart_and_usb_bulk_device `` for M300 and
253+ ``use_uart_and_network_device `` for M350 and M30T.
251254 To connect to the drone, run the platform with the following JSON parameters:
252255
253256 .. code-block :: json
254257
255- "uart_config" : {
256- "uart1_device_name" : " /dev/ttyUSB0" ,
257- "uart2_device_enable" : " true" ,
258- "uart2_device_name" : " /dev/ttyACM0"
259- },
260- "network_config" : {
261- "network_device_name" : " l4tbr0" ,
262- "network_usb_adapter_vid" : " 0x0B95" ,
263- "network_usb_adapter_pid" : " 0x1790"
258+ {
259+ "dji_sdk_link_config" : {
260+ "link_available" : " use_only_uart/use_uart_and_usb_bulk_device/use_uart_and_network_device" ,
261+ "link_select" : " use_uart_and_network_device" ,
262+ "uart_config" : {
263+ "uart1_device_name" : " /dev/ttyUSB0" ,
264+ "uart2_device_enable" : " true" ,
265+ "uart2_device_name" : " /dev/ttyACM0"
266+ },
267+ "network_config" : {
268+ "network_device_name" : " l4tbr0" ,
269+ "network_usb_adapter_vid" : " 0x0B95" ,
270+ "network_usb_adapter_pid" : " 0x1790"
271+ },
272+ "usb_bulk_config" : {
273+ "usb_device_vid" : " 0x0B95" ,
274+ "usb_device_pid" : " 0x1790" ,
275+ "usb_bulk1_device_name" : " /dev/usb-ffs/bulk1" ,
276+ "usb_bulk1_interface_num" : " 2" ,
277+ "usb_bulk1_endpoint_in" : " 0x83" ,
278+ "usb_bulk1_endpoint_out" : " 0x02" ,
279+ "usb_bulk2_device_name" : " /dev/usb-ffs/bulk2" ,
280+ "usb_bulk2_interface_num" : " 3" ,
281+ "usb_bulk2_endpoint_in" : " 0x84" ,
282+ "usb_bulk2_endpoint_out" : " 0x03"
283+ }
284+ }
264285 }
265286
266287
288+
267289 .. _aerial_platform_dji_matrice_psdk_installation_package :
268290
269291=======================
0 commit comments