ESP-NOW, custom OUI

mluerkens
Posts: 2
Joined: Mon Nov 14, 2022 3:10 pm

ESP-NOW, custom OUI

Postby mluerkens » Thu Dec 08, 2022 12:26 pm

ESP-NOW ist using Espressif OUI 0x18fe34 at two positions:
------------------------------------------------------------------------------------------------------------
| MAC Header | Category Code | Organization Identifier | Random Values | Vendor Specific Content | FCS |
------------------------------------------------------------------------------------------------------------

and

-------------------------------------------------------------------------------
| Element ID | Length | Organization Identifier | Type | Version | Body |
-------------------------------------------------------------------------------

(found here: https://docs.espressif.com/projects/esp ... p_now.html)

The API just allows sending the Body. But it would be very important to send the Vendor Specific Content with an own IEEE-SA registered OUI.
Sending and receiving with an own OUI will simplify sorting out foreign ESP-NOW frames from other vendors and/or applications.

User avatar
rudi ;-)
Posts: 1727
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP-NOW, custom OUI

Postby rudi ;-) » Sun Sep 22, 2024 10:22 pm

"with an own IEEE-SA registered OUI."
you can simply use your own by using your own MAC - or doesn't this work for you?

btw: OUI

espressif has 208 entry just in time :o :D 8-)

Code: Select all

1. 10-06-1C   (hex)             Espressif Inc.
2. D4-8A-FC   (hex)             Espressif Inc.
3. E4-65-B8   (hex)             Espressif Inc.
4. 48-E7-29   (hex)             Espressif Inc.
5. 80-64-6F   (hex)             Espressif Inc.
6. 34-85-18   (hex)             Espressif Inc.
7. B4-8A-0A   (hex)             Espressif Inc.
8. 94-E6-86   (hex)             Espressif Inc.
9. 58-CF-79   (hex)             Espressif Inc.
10. 10-91-A8   (hex)            Espressif Inc.
11. 90-38-0C   (hex)            Espressif Inc.
12. 8C-4B-14   (hex)            Espressif Inc.
13. C8-C9-A3   (hex)            Espressif Inc.
14. 34-B4-72   (hex)            Espressif Inc.
15. A8-48-FA   (hex)            Espressif Inc.
16. 34-AB-95   (hex)            Espressif Inc.
17. BC-FF-4D   (hex)            Espressif Inc.
18. C4-5B-BE   (hex)            Espressif Inc.
19. 3C-61-05   (hex)            Espressif Inc.
20. 8C-CE-4E   (hex)            Espressif Inc.
21. 70-03-9F   (hex)            Espressif Inc.
22. FC-F5-C4   (hex)            Espressif Inc.
23. 24-6F-28   (hex)            Espressif Inc.
24. 80-7D-3A   (hex)            Espressif Inc.
25. 68-C6-3A   (hex)            Espressif Inc.
26. 24-0A-C4   (hex)            Espressif Inc.
27. 60-01-94   (hex)            Espressif Inc.
28. 90-97-D5   (hex)            Espressif Inc.
29. AC-D0-74   (hex)            Espressif Inc.
30. 3C-84-27   (hex)            Espressif Inc.
31. AC-15-18   (hex)            Espressif Inc.
32. F0-9E-9E   (hex)            Espressif Inc.
33. A0-85-E3   (hex)            Espressif Inc.
34. DC-06-75   (hex)            Espressif Inc.
35. A0-A3-B3   (hex)            Espressif Inc.
36. 34-98-7A   (hex)            Espressif Inc.
37. 08-3A-8D   (hex)            Espressif Inc.
38. 40-22-D8   (hex)            Espressif Inc.
39. 54-43-B2   (hex)            Espressif Inc.
40. B8-D6-1A   (hex)            Espressif Inc.
41. 34-94-54   (hex)            Espressif Inc.
42. 68-67-25   (hex)            Espressif Inc.
43. 44-17-93   (hex)            Espressif Inc.
44. EC-94-CB   (hex)            Espressif Inc.
45. A4-E5-7C   (hex)            Espressif Inc.
46. E0-E2-E6   (hex)            Espressif Inc.
47. A0-76-4E   (hex)            Espressif Inc.
48. 0C-DC-7E   (hex)            Espressif Inc.
49. AC-67-B2   (hex)            Espressif Inc.
50. 7C-DF-A1   (hex)            Espressif Inc.
51. 8C-AA-B5   (hex)            Espressif Inc.
52. 98-F4-AB   (hex)            Espressif Inc.
53. D8-BF-C0   (hex)            Espressif Inc.
54. 50-02-91   (hex)            Espressif Inc.
55. 24-62-AB   (hex)            Espressif Inc.
56. A4-CF-12   (hex)            Espressif Inc.
57. CC-50-E3   (hex)            Espressif Inc.
58. BC-DD-C2   (hex)            Espressif Inc.
59. D8-A0-1D   (hex)            Espressif Inc.
60. 24-B2-DE   (hex)            Espressif Inc.
61. A0-20-A6   (hex)            Espressif Inc.
62. 5C-CF-7F   (hex)            Espressif Inc.
63. D8-13-2A   (hex)            Espressif Inc.
64. 80-65-99   (hex)            Espressif Inc.
65. 9C-9E-6E   (hex)            Espressif Inc.
66. 78-EE-4C   (hex)            Espressif Inc.
67. F0-24-F9   (hex)            Espressif Inc.
68. 8C-BF-EA   (hex)            Espressif Inc.
69. F4-65-0B   (hex)            Espressif Inc.
70. FC-B4-67   (hex)            Espressif Inc.
71. D8-BC-38   (hex)            Espressif Inc.
72. 40-4C-CA   (hex)            Espressif Inc.
73. D4-D4-DA   (hex)            Espressif Inc.
74. C0-4E-30   (hex)            Espressif Inc.
75. 0C-8B-95   (hex)            Espressif Inc.
76. E8-31-CD   (hex)            Espressif Inc.
77. F4-12-FA   (hex)            Espressif Inc.
78. D4-F9-8D   (hex)            Espressif Inc.
79. 4C-EB-D6   (hex)            Espressif Inc.
80. 1C-9D-C2   (hex)            Espressif Inc.
81. AC-0B-FB   (hex)            Espressif Inc.
82. 84-F7-03   (hex)            Espressif Inc.
83. 78-E3-6D   (hex)            Espressif Inc.
84. 34-86-5D   (hex)            Espressif Inc.
85. 98-CD-AC   (hex)            Espressif Inc.
86. 9C-9C-1F   (hex)            Espressif Inc.
87. 4C-75-25   (hex)            Espressif Inc.
88. E8-68-E7   (hex)            Espressif Inc.
89. 94-B9-7E   (hex)            Espressif Inc.
90. 08-3A-F2   (hex)            Espressif Inc.
91. 84-CC-A8   (hex)            Espressif Inc.
92. 40-F5-20   (hex)            Espressif Inc.
93. 10-52-1C   (hex)            Espressif Inc.
94. E0-98-06   (hex)            Espressif Inc.
95. F4-CF-A2   (hex)            Espressif Inc.
96. D8-F1-5B   (hex)            Espressif Inc.
97. C4-4F-33   (hex)            Espressif Inc.
98. 30-AE-A4   (hex)            Espressif Inc.
99. CC-7B-5C   (hex)            Espressif Inc.
100. FC-E8-C0   (hex)           Espressif Inc.
101. 14-2B-2F   (hex)           Espressif Inc.
102. 48-CA-43   (hex)           Espressif Inc.
103. E8-06-90   (hex)           Espressif Inc.
104. 34-CD-B0   (hex)           Espressif Inc.
105. 94-54-C5   (hex)           Espressif Inc.
106. 98-3D-AE   (hex)           Espressif Inc.
107. 78-42-1C   (hex)           Espressif Inc.
108. 5C-01-3B   (hex)           Espressif Inc.
109. 7C-73-98   (hex)           Espressif Inc.
110. 6C-B4-56   (hex)           Espressif Inc.
111. 30-30-F9   (hex)           Espressif Inc.
112. C8-2E-18   (hex)           Espressif Inc.
113. E8-6B-EA   (hex)           Espressif Inc.
114. 08-D1-F9   (hex)           Espressif Inc.
115. 34-B7-DA   (hex)           Espressif Inc.
116. 08-F9-E0   (hex)           Espressif Inc.
117. 48-31-B7   (hex)           Espressif Inc.
118. 54-32-04   (hex)           Espressif Inc.
119. B0-A7-32   (hex)           Espressif Inc.
120. B0-B2-1C   (hex)           Espressif Inc.
121. 84-FC-E6   (hex)           Espressif Inc.
122. EC-DA-3B   (hex)           Espressif Inc.
123. E0-5A-1B   (hex)           Espressif Inc.
124. 08-B6-1F   (hex)           Espressif Inc.
125. 3C-E9-0E   (hex)           Espressif Inc.
126. A8-42-E3   (hex)           Espressif Inc.
127. A0-B7-65   (hex)           Espressif Inc.
128. CC-DB-A7   (hex)           Espressif Inc.
129. C4-DE-E2   (hex)           Espressif Inc.
130. 68-B6-B3   (hex)           Espressif Inc.
131. C0-49-EF   (hex)           Espressif Inc.
132. 94-B5-55   (hex)           Espressif Inc.
133. 0C-B8-15   (hex)           Espressif Inc.
134. 70-B8-F6   (hex)           Espressif Inc.
135. 48-55-19   (hex)           Espressif Inc.
136. E8-9F-6D   (hex)           Espressif Inc.
137. 40-91-51   (hex)           Espressif Inc.
138. 30-83-98   (hex)           Espressif Inc.
139. E8-DB-84   (hex)           Espressif Inc.
140. B8-F0-09   (hex)           Espressif Inc.
141. 7C-9E-BD   (hex)           Espressif Inc.
142. F0-08-D1   (hex)           Espressif Inc.
143. 48-3F-DA   (hex)           Espressif Inc.
144. C8-2B-96   (hex)           Espressif Inc.
145. 84-0D-8E   (hex)           Espressif Inc.
146. 84-F3-EB   (hex)           Espressif Inc.
147. A4-7B-9D   (hex)           Espressif Inc.
148. 18-FE-34   (hex)           Espressif Inc.
149. 24-58-7C   (hex)           Espressif Inc.
150. CC-8D-A2   (hex)           Espressif Inc.
151. A0-DD-6C   (hex)           Espressif Inc.
152. D0-EF-76   (hex)           Espressif Inc.
153. C4-D8-D5   (hex)           Espressif Inc.
154. 24-EC-4A   (hex)           Espressif Inc.
155. 90-15-06   (hex)           Espressif Inc.
156. D8-3B-DA   (hex)           Espressif Inc.
157. B0-81-84   (hex)           Espressif Inc.
158. 8C-4F-00   (hex)           Espressif Inc.
159. CC-BA-97   (hex)           Espressif Inc.
160. 74-4D-BD   (hex)           Espressif Inc.
161. DC-DA-0C   (hex)           Espressif Inc.
162. 24-DC-C3   (hex)           Espressif Inc.
163. 64-B7-08   (hex)           Espressif Inc.
164. 64-E8-33   (hex)           Espressif Inc.
165. 48-27-E2   (hex)           Espressif Inc.
166. EC-62-60   (hex)           Espressif Inc.
167. C8-F0-9E   (hex)           Espressif Inc.
168. DC-54-75   (hex)           Espressif Inc.
169. 70-04-1D   (hex)           Espressif Inc.
170. 24-4C-AB   (hex)           Espressif Inc.
171. 78-21-84   (hex)           Espressif Inc.
172. 30-C6-F7   (hex)           Espressif Inc.
173. 10-97-BD   (hex)           Espressif Inc.
174. 24-D7-EB   (hex)           Espressif Inc.
175. 58-BF-25   (hex)           Espressif Inc.
176. 7C-87-CE   (hex)           Espressif Inc.
177. 94-3C-C6   (hex)           Espressif Inc.
178. 60-55-F9   (hex)           Espressif Inc.
179. C4-DD-57   (hex)           Espressif Inc.
180. A8-03-2A   (hex)           Espressif Inc.
181. 24-A1-60   (hex)           Espressif Inc.
182. 4C-11-AE   (hex)           Espressif Inc.
183. 2C-F4-32   (hex)           Espressif Inc.
184. 3C-71-BF   (hex)           Espressif Inc.
185. B4-E6-2D   (hex)           Espressif Inc.
186. DC-4F-22   (hex)           Espressif Inc.
187. EC-FA-BC   (hex)           Espressif Inc.
188. 2C-3A-E8   (hex)           Espressif Inc.
189. 54-5A-A6   (hex)           Espressif Inc.
190. 30-C9-22   (hex)           Espressif Inc.
191. EC-64-C9   (hex)           Espressif Inc.
192. F0-F5-BD   (hex)           Espressif Inc.
193. 18-8B-0E   (hex)           Espressif Inc.
194. 08-A6-F7   (hex)           Espressif Inc.
195. 2C-BC-BB   (hex)           Espressif Inc.
196. EC-C9-FF   (hex)           Espressif Inc.
197. 1C-69-20   (hex)           Espressif Inc.
198. E4-B0-63   (hex)           Espressif Inc.
199. 88-13-BF   (hex)           Espressif Inc.
200. 34-5F-45   (hex)           Espressif Inc.
201. 7C-2C-67   (hex)           Espressif Inc.
202. C0-5D-89   (hex)           Espressif Inc.
203. D4-8C-49   (hex)           Espressif Inc.
204. F8-B3-B7   (hex)           Espressif Inc.
205. E4-B3-23   (hex)           Espressif Inc.
206. 3C-8A-1F   (hex)           Espressif Inc.
207. 20-43-A8   (hex)           Espressif Inc.
208. DC-1E-D5   (hex)           Espressif Inc.
best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

aliarifat794
Posts: 177
Joined: Sun Jun 23, 2024 6:18 pm

Re: ESP-NOW, custom OUI

Postby aliarifat794 » Mon Sep 23, 2024 7:44 am

If you're using a custom organization identifier (OUI) for peer addressing, the MAC address handling remains the same—each device still uses its MAC address (6 bytes) as the unique identifier, which can be customized based on your needs by specifying your OUI during peer addition. This feature can be beneficial when distinguishing between different networks or devices using ESP-NOW​.
These contents may help further.
https://developer.espressif.com/blog/ar ... p-now-lib/
https://www.theengineeringprojects.com/ ... p8266.html

Who is online

Users browsing this forum: Google [Bot] and 128 guests