bc04da9c99ccbc1a428deb4592e2041243b3786a
Chip-cn-dat/EY-dat/EY-34-dat/2026-04-29-12-25-35.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/EY-dat/EY-34-dat/2026-04-29-12-25-35.png differ |
Chip-cn-dat/EY-dat/EY-34-dat/EY-34-dat.md
| ... | ... | @@ -42,6 +42,91 @@ Main advantage: high-speed communication. When connected via SPP to a phone or P |
| 42 | 42 | |
| 43 | 43 | - [[NBL1064-dat]] |
| 44 | 44 | |
| 45 | +## usage |
|
| 46 | + |
|
| 47 | +### Mode selection |
|
| 48 | + |
|
| 49 | +1. For multi-connected printer products, use: |
|
| 50 | + |
|
| 51 | + `AT+BTMODE0` |
|
| 52 | + |
|
| 53 | +2. For high-speed transparent transmission with only a phone app or a PC Bluetooth connection, use: |
|
| 54 | + |
|
| 55 | + `AT+BTMODE1` |
|
| 56 | + |
|
| 57 | +3. For EY-34 master/slave communication, use: |
|
| 58 | + |
|
| 59 | + `AT+BTMODE1` |
|
| 60 | + |
|
| 61 | +### Master/slave communication example |
|
| 62 | + |
|
| 63 | +Configure both the master and slave as: |
|
| 64 | + |
|
| 65 | +`AT+BTMODE1` |
|
| 66 | + |
|
| 67 | +Then follow this sequence: |
|
| 68 | + |
|
| 69 | +1. The master sends `AT+INQ` to search for slave devices. |
|
| 70 | +2. After a slave is found, send `AT+CONA` followed by the slave MAC address through UART to connect. |
|
| 71 | +3. After the connection is established, the `STAT` pin goes HIGH. |
|
| 72 | +4. The UART also prints connection information, indicating that the link is active. |
|
| 73 | +5. Once connected, transparent data transmission can begin. |
|
| 74 | + |
|
| 75 | + |
|
| 76 | + |
|
| 77 | +When the slave is connected, it outputs: |
|
| 78 | + |
|
| 79 | +```text |
|
| 80 | ++CONNECTED>>0x200428301589,1 |
|
| 81 | +``` |
|
| 82 | + |
|
| 83 | +Meaning: |
|
| 84 | + |
|
| 85 | + |
|
| 86 | +- `200428301589` is the master MAC address. |
|
| 87 | +- `1` is the current master ID. |
|
| 88 | + |
|
| 89 | +When the master sends `AT+INQ`, the search results may look like this: |
|
| 90 | + |
|
| 91 | +```text |
|
| 92 | ++DEV:1=200428301578,JDY-34-SPP |
|
| 93 | ++DEV:2=200428301584,JDY-34-SPP |
|
| 94 | ++DEV:3=200428301580,JDY-34-SPP |
|
| 95 | ++SINQ |
|
| 96 | +``` |
|
| 97 | + |
|
| 98 | +This means that 3 slave devices were found, along with their MAC addresses and broadcast names. |
|
| 99 | + |
|
| 100 | +If the master chooses to connect to slave `200428301580`, send: |
|
| 101 | + |
|
| 102 | +`AT+CONA200428301580` |
|
| 103 | + |
|
| 104 | +After the master connects successfully, it outputs: |
|
| 105 | + |
|
| 106 | +```text |
|
| 107 | ++CONNECTED>>0x200428301580,1 |
|
| 108 | +``` |
|
| 109 | + |
|
| 110 | +Meaning: |
|
| 111 | + |
|
| 112 | +- `200428301580` is the slave MAC address. |
|
| 113 | +- `1` is the slave ID. |
|
| 114 | + |
|
| 115 | +### Master binding example |
|
| 116 | + |
|
| 117 | +In `AT+ROLE1` mode, the master can bind to a slave by sending `AT+BAND` followed by the slave MAC address. |
|
| 118 | + |
|
| 119 | +Example: |
|
| 120 | + |
|
| 121 | +`AT+BAND112233445566` |
|
| 122 | + |
|
| 123 | +After the master connects to a bound slave, it will keep reconnecting to that same slave as long as the slave remains within range. The master will try to maintain the connection continuously. |
|
| 124 | + |
|
| 125 | +To connect the master to a different slave, first clear the current binding with `AT+CLRBAND`, then bind or connect to the new device. |
|
| 126 | + |
|
| 127 | + |
|
| 128 | + |
|
| 129 | + |
|
| 45 | 130 | ## ref |
| 46 | 131 | |
| 47 | 132 | - [[EY-dat]] |
| ... | ... | \ No newline at end of file |
Chip-dat/renesas-dat/Dialog-dat/Dialog-dat.md
| ... | ... | @@ -10,6 +10,17 @@ |
| 10 | 10 | |
| 11 | 11 | - [[da14585-dat]] - [[da14580-dat]] |
| 12 | 12 | |
| 13 | +DA14580 is selected by Xiaomi Bracelet. DA14580 is the world's smallest, lowest power, and most integrated Bluetooth smart SoC. |
|
| 14 | + |
|
| 15 | +- [[DA14580-dat]] |
|
| 16 | + |
|
| 17 | + |
|
| 18 | + |
|
| 19 | +- [[MDK-ARM-dat]] |
|
| 20 | + |
|
| 21 | + |
|
| 22 | + |
|
| 23 | + |
|
| 13 | 24 | |
| 14 | 25 | ## repo |
| 15 | 26 |
Chip-dat/renesas-dat/renesas-dat.md
| ... | ... | @@ -2,6 +2,7 @@ |
| 2 | 2 | # Renesas-dat |
| 3 | 3 | |
| 4 | 4 | |
| 5 | +- [[da14585-dat]] - [[da14580-dat]] - [[dialog-dat]] |
|
| 5 | 6 | |
| 6 | 7 | |
| 7 | 8 | ## RS232 |
| ... | ... | @@ -10,20 +11,6 @@ HIN202E, HIN206E, HIN207E, HIN208E, HIN211E, HIN213E, HIN232E |
| 10 | 11 | |
| 11 | 12 | https://www.renesas.com/en/document/dst/hin202e-hin206e-hin207e-hin208e-hin211e-hin213e-hin232e-datasheet |
| 12 | 13 | |
| 13 | -## other |
|
| 14 | - |
|
| 15 | -- [[da14585-dat]] - [[da14580-dat]] |
|
| 16 | - |
|
| 17 | -- [[dialog-dat]] |
|
| 18 | - |
|
| 19 | - |
|
| 20 | -DA14580 is selected by Xiaomi Bracelet. DA14580 is the world's smallest, lowest power, and most integrated Bluetooth smart SoC. |
|
| 21 | - |
|
| 22 | -- [[DA14580-dat]] |
|
| 23 | - |
|
| 24 | - |
|
| 25 | - |
|
| 26 | -- [[MDK-ARM-dat]] |
|
| 27 | 14 | |
| 28 | 15 | |
| 29 | 16 | ## digitizer-dat |