dtelenkov 3 weeks ago
parent
commit
9a85672343
1 changed files with 25 additions and 0 deletions
  1. 25 0
      Greenstar/ethernet stm32.md

+ 25 - 0
Greenstar/ethernet stm32.md

@@ -1,3 +1,28 @@
+~={yellow}Работа с профилями запросов=~
+
+```json
+Request:
+
+{"jsonrpc":"2.0","method":"getProfile","params":{"spId":"0"},"id":8000000}
+
+Respons:
+{
+	"jsonrpc": "2.0", "result": {
+	"spId": "0", "profile": {
+		"current": "defaul", 
+			"list": [
+		        "defaul",
+	            "defaul300kev_650v",
+	            "factory",
+	            "generator",
+	            "home"
+	        ]
+       }
+    },
+    "id": 7000000
+}
+```
+
 ~={yellow}Преобразование py в exe.=~
 - https://www.geeksforgeeks.org/python/convert-python-script-to-exe-file/