Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

DFR0868 Arkusz danych(PDF) 47 Page - DFROBOT

Numer części DFR0868
Szczegółowy opis  Beetle-ESP32-C3 RISC-V Core Development Board Wiki
PDF  89 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  DFROBOT [DFROBOT]
Strona internetowa  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0868 Arkusz danych(HTML) 47 Page - DFROBOT

Back Button DFR0868 Datasheet HTML 43Page - DFROBOT DFR0868 Datasheet HTML 44Page - DFROBOT DFR0868 Datasheet HTML 45Page - DFROBOT DFR0868 Datasheet HTML 46Page - DFROBOT DFR0868 Datasheet HTML 47Page - DFROBOT DFR0868 Datasheet HTML 48Page - DFROBOT DFR0868 Datasheet HTML 49Page - DFROBOT DFR0868 Datasheet HTML 50Page - DFROBOT DFR0868 Datasheet HTML 51Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 47 / 89 page
background image
2023/10/12 11:20
Beetle-ESP32-C3 RISC-V Core Development Board Wiki - DFRobot
https://wiki.dfrobot.com/SKU_DFR0868_Beetle_ESP32_C3
47/89
/****************************************/
void loop() {
if(deviceConnected){
//Send data when a device is connected
pTxCharacteristic->setValue("I am a slave");
pTxCharacteristic->notify();
pTxCharacteristic->setValue("Hello Sever");
pTxCharacteristic->notify();
}
/****************************************/
/****************************************/
delay(1000);
}
void bleBegin()
{
BLEDevice::init(/*BLE name*/"Long name works now");
BLEServer *pServer = BLEDevice::createServer();
pServer->setCallbacks(new MyServerCallbacks());
BLEService *pService = pServer->createService(SERVICE_UUID);
BLECharacteristic *pRxCharacteristic = pService->createCharacteristic(
CHARACTERISTIC_UUID_RX,
BLECharacteristic::PROPERTY_WRITE
);
pRxCharacteristic->setCallbacks(new MyCallbacks());
pTxCharacteristic = pService->createCharacteristic(
CHARACTERISTIC_UUID_TX,
BLECharacteristic::PROPERTY_NOTIFY
);
pTxCharacteristic->addDescriptor(new BLE2902());
pService->start();
// BLEAdvertising *pAdvertising = pServer->getAdvertising();
// this still is working for backward compatibility
BLEAdvertising *pAdvertising = BLEDevice::getAdvertising();
Ad
ti i
ddS
i
UUID(SERVICE UUID)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com