User Tools

Site Tools


howto:websocket

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howto:websocket [2020/02/14 01:09] (current)
digdat0 created
Line 1: Line 1:
 +===== WebSocket =====
 +(Moved from https://​dji.retroroms.info/​howto/​parameterhacks)
 +
 +NFZ avalable on the below versions only, all other options are avalable on all versions
 +? Spark : 1.00.0300
 +? Mavic Pro : 1.03.0700, 1.03.0400
 +? Phantom 4 Pro/Adv : 1.03.0509
 +? Inspire 2 : 1.00.0330
 +
 +to unlock all limits in any DJI drone (SPARK, Mavic, P4p, Inspire 2) you just need to do the following
 +
 +  -  connect your drone to DJI assistant (no need to login)
 +
 +otherwise you can try 
 +  -  install simple WebSocket client from google chrome apps
 +
 +from simple WebSocket client on Chrome connect to 
 +* ws://​localhost:​19870/​general to get your drone param path like: ws://​localhost:​19870/​controller/​config/​user/​YOUR DRONE HASH NUMBER HERE
 +disconnect from general and connect to :
 +* ws://​localhost:​19870/​controller/​config/​user/​YOUR DRONE HASH NUMBER HERE
 +
 +in the command write & execute the below commands one by one:
 +
 +
 +----
 +
 +
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_airport_limit_cfg_cfg_disable_airport_fly_limit","​VALUE":​1}
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_airport_limit_cfg_cfg_limit_data","​VALUE":​20250910}
 +
 +----
 +
 +
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_flying_limit_limit_height_abs_without_gps","​VALUE":​2500}
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_flying_limit_limit_height_abs","​VALUE":​2500}
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_flying_limit_limit_height_rel","​VALUE":​2500}
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_flying_limit_height_limit_enabled","​VALUE":​2}
 +**
 +
 +----
 +
 +
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_mode_sport_cfg_tilt_atti_range","​VALUE":​60}
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_mode_sport_cfg_vert_vel_up","​VALUE":​10}
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_mode_sport_cfg_vert_acc_up","​VALUE":​10}
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_mode_sport_cfg_vert_vel_down","​VALUE":​-10}
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_mode_sport_cfg_vert_acc_down","​VALUE":​-10}
 +{"​SEQ":"​123456","​CMD":"​write","​INDEX":"​g_config_fw_cfg_max_speed","​VALUE":​20}
 +
 +
  
howto/websocket.txt ยท Last modified: 2020/02/14 01:09 by digdat0