Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

17 righe
452 B

  1. #!/bin/bash
  2. SERVER_URL="http://localhost:1902"
  3. curl -X POST "${SERVER_URL}/configs/beacons" \
  4. -H "Content-Type: application/json" \
  5. -d '{
  6. "name": "Eddystone",
  7. "min": 4,
  8. "max": 255,
  9. "pattern": ["0x16", "0xAA", "0xFE", "0x20"],
  10. "configs": {
  11. "battery": {"offset": 6, "length": 2, "order": "bigendian"},
  12. "temperature": {"offset": 8, "length": 2, "order": "fixedpoint"}
  13. }
  14. }'