Builds a HCI_Cmd_LE_Set_Advertising_Data containing this frame. This includes the :class:`HCI_Hdr` and :class:`HCI_Command_Hdr` layers. :rtype: scapy.bluetooth.HCI_Hdr
(self)
| 2991 | ) |
| 2992 | |
| 2993 | def build_set_advertising_data(self): |
| 2994 | """Builds a HCI_Cmd_LE_Set_Advertising_Data containing this frame. |
| 2995 | |
| 2996 | This includes the :class:`HCI_Hdr` and :class:`HCI_Command_Hdr` layers. |
| 2997 | |
| 2998 | :rtype: scapy.bluetooth.HCI_Hdr |
| 2999 | """ |
| 3000 | |
| 3001 | return HCI_Hdr() / HCI_Command_Hdr() / HCI_Cmd_LE_Set_Advertising_Data( |
| 3002 | data=self.build_eir() |
| 3003 | ) |
| 3004 | |
| 3005 | |
| 3006 | ########### |
nothing calls this directly
no test coverage detected