summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a731d24)
Signed-off-by: Keith Packard <keithp@keithp.com>
static __xdata uint8_t cmac_key[AO_CMAC_KEY_LEN];
static __xdata uint8_t cmac_data[AO_CMAC_MAX_LEN + AO_CMAC_KEY_LEN + 2 + AO_CMAC_KEY_LEN];
static __xdata uint8_t cmac_key[AO_CMAC_KEY_LEN];
static __xdata uint8_t cmac_data[AO_CMAC_MAX_LEN + AO_CMAC_KEY_LEN + 2 + AO_CMAC_KEY_LEN];
+static __pdata uint8_t ao_radio_cmac_len;
static uint8_t
getnibble(void)
static uint8_t
getnibble(void)
ao_radio_send(cmac_data, ao_cmd_lex_i + AO_CMAC_KEY_LEN);
}
ao_radio_send(cmac_data, ao_cmd_lex_i + AO_CMAC_KEY_LEN);
}
+static void
+ao_radio_cmac_recv(void) __reentrant
+{
+ ao_cmd_hex();
+ if (ao_cmd_status != ao_cmd_success)
+ return;
+}
+
__code struct ao_cmds ao_radio_cmac_cmds[] = {
{ ao_radio_cmac_key, "k <byte> ...\0Set AES-CMAC key." },
{ ao_radio_cmac_send, "s <length>\0Send AES-CMAC packet. Bytes to send follow on next line" },
__code struct ao_cmds ao_radio_cmac_cmds[] = {
{ ao_radio_cmac_key, "k <byte> ...\0Set AES-CMAC key." },
{ ao_radio_cmac_send, "s <length>\0Send AES-CMAC packet. Bytes to send follow on next line" },
+/* ao_launch.c */
+void
+ao_launch_init(void);
+
$(TLAUNCH_BASE_SRC) \
$(SPI_DRIVER_SRC) \
$(EE_DRIVER_SRC) \
$(TLAUNCH_BASE_SRC) \
$(SPI_DRIVER_SRC) \
$(EE_DRIVER_SRC) \
$(DBG_SRC)
PRODUCT=TeleLaunch-v0.1
$(DBG_SRC)
PRODUCT=TeleLaunch-v0.1