micropython / micropython/micropython-lib
In aioble calling DeviceConnection.pair() or security.pair() gives 'unknown config param'
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 2.9k
- Fork
- 1.1k
- Merge medio
- 7g 6h
- PR unite (30g)
- 3
Descrizione
In the aioble library attempting to pair gives 'unknown config param' regardless of which attempt I use (one can call the pair method through the DeviceConnection object which calls the pair method in the security module or call the security module pair method direct). The difference as far as the application is concerned is in the latter one has to pass the DeviceConnection parameter in the first argument. The documentation in the code says use the DeviceConnection object.
I think the offending parameter is the bond parameter. When I try and set the config at the low level programmatically I get an error with the bond parameter as unknown., I did not try setting other parameters.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo l'errore tramite i punti di ingresso DeviceConnection.pair() e security.pair() di aioble, quindi esamina come la configurazione di sicurezza gestisce il parametro bond sospetto. Confronta i parametri di configurazione accettati con il comportamento di pairing documentato; il lavoro è terminato quando il pairing non fallisce più con 'unknown config param' attraverso nessuno dei due punti di ingresso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- embedded-iot
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100