| 1389 | |
| 1390 | |
| 1391 | class EIR_ServiceData32BitUUID(EIR_Element): |
| 1392 | name = 'EIR Service Data - 32-bit UUID' |
| 1393 | fields_desc = [ |
| 1394 | XLEIntField('svc_uuid', 0), |
| 1395 | ] |
| 1396 | |
| 1397 | def extract_padding(self, s): |
| 1398 | # Needed to end each EIR_Element packet and make PacketListField work. |
| 1399 | plen = EIR_Element.length_from(self) - 4 |
| 1400 | return s[:plen], s[plen:] |
| 1401 | |
| 1402 | |
| 1403 | class EIR_ServiceData128BitUUID(EIR_Element): |
nothing calls this directly
no test coverage detected