[{"data":1,"prerenderedAt":149},["ShallowReactive",2],{"kb-percorso\u002Ftelecomunicazioni\u002Flaboratorio\u002Flab5_smartphone":3},{"doc":4,"before":141,"after":145},{"id":5,"title":6,"body":7,"categoria":123,"description":124,"difficulty":125,"docsLink":126,"downloadLink":126,"extension":127,"hide_page_title":128,"image":126,"is_published":128,"level":129,"lezione":126,"materia":130,"meta":131,"navigation":128,"node_id":13,"node_type":132,"path":133,"pdfLink":126,"prerequisites":134,"revealLink":126,"score_reward":136,"seo":137,"stem":138,"x":126,"y":126,"year":139,"__hash__":140},"dispense\u002Fdispense\u002Fpercorso\u002Ftelecomunicazioni\u002FLaboratorio\u002FLAB5_SMARTPHONE.md","LAB5 — Smartphone & Bluetooth",{"type":8,"value":9,"toc":115},"minimark",[10,15,20,27,31,44,47,56,60,80,84,93,103,107],[11,12,14],"h1",{"id":13},"lab5_smartphone","LAB5_SMARTPHONE",[16,17,19],"h2",{"id":18},"scope","Scope",[21,22,23],"p",{},[24,25,26],"em",{},"Eseguire il collegamento bluetooth tra ESP\u002FRaspberry Pi al telefono.",[16,28,30],{"id":29},"link-utili","Link utili",[32,33,34],"ul",{},[35,36,37],"li",{},[38,39,43],"a",{"href":40,"rel":41},"https:\u002F\u002Fgithub.com\u002Fnkolban\u002FESP32_BLE_Arduino",[42],"nofollow","Repo Link",[21,45,46],{},"Partire da una scansione dei dispositivi nella zona",[32,48,49],{},[35,50,51],{},[38,52,55],{"href":53,"rel":54},"https:\u002F\u002Fgithub.com\u002Fnkolban\u002FESP32_BLE_Arduino\u002Fblob\u002Fmaster\u002Fexamples\u002FBLE_scan\u002FBLE_scan.ino",[42],"Link",[16,57,59],{"id":58},"telefono-pc","Telefono - PC",[61,62,63,71,74,77],"ol",{},[35,64,65,66,70],{},"Installazione dell'applicazione ",[67,68,69],"code",{},"serial bluetooth terminal"," sul proprio telefono (sia per ios che android).",[35,72,73],{},"Lanciare un server bluetooth sul proprio PC\u002Fraspberrypi",[35,75,76],{},"Effettuare il collegamento tra il telefono e il PC",[35,78,79],{},"Avviare un terminale con il dispositivo all'interno dell'app e inviare dei comandi di testo",[16,81,83],{"id":82},"solo-per-esp","SOLO PER ESP",[32,85,86],{},[35,87,88],{},[38,89,92],{"href":90,"rel":91},"https:\u002F\u002Frandomnerdtutorials.com\u002Fesp32-bluetooth-classic-arduino-ide\u002F",[42],"tutorial link",[94,95,100],"pre",{"className":96,"code":98,"language":99},[97],"language-text","#include \"BluetoothSerial.h\"\n\n#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)\n#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it\n#endif\n\nBluetoothSerial SerialBT;\n\nvoid setup() {\n  Serial.begin(115200);\n  SerialBT.begin(\"ESP32test\"); \u002F\u002FBluetooth device name\n  Serial.println(\"The device started, now you can pair it with bluetooth!\");\n}\n\nvoid loop() {\n  if (Serial.available()) {\n    SerialBT.write(Serial.read());\n  }\n  if (SerialBT.available()) {\n    Serial.write(SerialBT.read());\n  }\n  delay(20);\n}\n","text",[67,101,98],{"__ignoreMap":102},"",[16,104,106],{"id":105},"lab1-client-server-ble","LAB1 - CLient - Server BLE",[32,108,109],{},[35,110,111],{},[38,112,92],{"href":113,"rel":114},"https:\u002F\u002Frandomnerdtutorials.com\u002Fesp32-ble-server-client\u002F",[42],{"title":102,"searchDepth":116,"depth":116,"links":117},2,[118,119,120,121,122],{"id":18,"depth":116,"text":19},{"id":29,"depth":116,"text":30},{"id":58,"depth":116,"text":59},{"id":82,"depth":116,"text":83},{"id":105,"depth":116,"text":106},"Laboratorio","Collegamento Bluetooth tra ESP\u002FRaspberry Pi e smartphone",3,null,"md",true,1,"Telecomunicazioni",{},"dispensa","\u002Fdispense\u002Fpercorso\u002Ftelecomunicazioni\u002Flaboratorio\u002Flab5_smartphone",[135],"lab4_bluetooth",150,{"title":6,"description":124},"dispense\u002Fpercorso\u002Ftelecomunicazioni\u002FLaboratorio\u002FLAB5_SMARTPHONE",2025,"ov-RKSKhAorb_5_bIE7AYd6J-G31PlJQgKDlUkD7fV0",[142],{"title":143,"path":144,"materia":130},"LAB4 — Bluetooth","\u002Fknowledge-base\u002Fpercorso\u002Ftelecomunicazioni\u002Flaboratorio\u002Flab4_bluetooth",[146],{"title":147,"path":148,"materia":130},"LAB6 — Multithreading","\u002Fknowledge-base\u002Fpercorso\u002Ftelecomunicazioni\u002Flaboratorio\u002Flab6_multithreading",1795351422105]