You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/11/21 14:24:22 UTC

[GitHub] [mynewt-nimble] sjanc commented on a change in pull request #675: nimble/ll: Fix own addr type handling

sjanc commented on a change in pull request #675: nimble/ll: Fix own addr type handling
URL: https://github.com/apache/mynewt-nimble/pull/675#discussion_r349112312
 
 

 ##########
 File path: nimble/controller/include/controller/ble_ll.h
 ##########
 @@ -427,9 +427,19 @@ void ble_ll_init(void);
 /* Reset the Link Layer */
 int ble_ll_reset(void);
 
+int ble_ll_is_valid_public_addr(const uint8_t *addr);
+
 /* 'Boolean' function returning true if address is a valid random address */
 int ble_ll_is_valid_random_addr(const uint8_t *addr);
 
+/*
+ * Check if given own_addr_type is valid for current controller configuration
+ * given the random address provided (when applicable)
+ */
+int ble_ll_is_valid_own_addr_type(uint8_t own_addr_type,
+                                  const uint8_t *random_addr);
+
 
 Review comment:
   :-)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services