mirror of
https://github.com/google/pebble.git
synced 2025-04-30 07:21:39 -04:00
spelling: successfully
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
aee29ca34b
commit
9e89559322
11 changed files with 15 additions and 15 deletions
|
@ -90,7 +90,7 @@ void ble_ibeacon_destroy(BLEiBeacon *ibeacon);
|
||||||
//! @param rssi The RSSI of the advertisement
|
//! @param rssi The RSSI of the advertisement
|
||||||
//! @param[out] ibeacon_out Will contain the parsed iBeacon data if the call
|
//! @param[out] ibeacon_out Will contain the parsed iBeacon data if the call
|
||||||
//! returns true.
|
//! returns true.
|
||||||
//! @return true if the data element was succesfully parsed as iBeacon,
|
//! @return true if the data element was successfully parsed as iBeacon,
|
||||||
//! false if the data element could not be parsed as iBeacon.
|
//! false if the data element could not be parsed as iBeacon.
|
||||||
bool ble_ibeacon_parse(const BLEAdData *ad, int8_t rssi,
|
bool ble_ibeacon_parse(const BLEAdData *ad, int8_t rssi,
|
||||||
BLEiBeacon *ibeacon_out);
|
BLEiBeacon *ibeacon_out);
|
||||||
|
|
|
@ -52,12 +52,12 @@ typedef struct {
|
||||||
//! reports and scan responses will be buffered. A PEBBLE_BLE_SCAN_EVENT will
|
//! reports and scan responses will be buffered. A PEBBLE_BLE_SCAN_EVENT will
|
||||||
//! be generated when there is data to be collected.
|
//! be generated when there is data to be collected.
|
||||||
//! @see gap_le_consume_scan_results
|
//! @see gap_le_consume_scan_results
|
||||||
//! @return 0 if scanning started succesfully or an error code otherwise.
|
//! @return 0 if scanning started successfully or an error code otherwise.
|
||||||
bool gap_le_start_scan(void);
|
bool gap_le_start_scan(void);
|
||||||
|
|
||||||
//! @internal
|
//! @internal
|
||||||
//! Stops scanning.
|
//! Stops scanning.
|
||||||
//! @return 0 if scanning stopped succesfully or an error code otherwise.
|
//! @return 0 if scanning stopped successfully or an error code otherwise.
|
||||||
bool gap_le_stop_scan(void);
|
bool gap_le_stop_scan(void);
|
||||||
|
|
||||||
//! @internal
|
//! @internal
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
//! @param number_str_length The length of the number_str buffer.
|
//! @param number_str_length The length of the number_str buffer.
|
||||||
//! @param multiplier The factor by which to multiply the parsed number.
|
//! @param multiplier The factor by which to multiply the parsed number.
|
||||||
//! @param[out] number_out If the parsing was successful, the result will be stored here.
|
//! @param[out] number_out If the parsing was successful, the result will be stored here.
|
||||||
//! @return True if the string was parsed succesfully.
|
//! @return True if the string was parsed successfully.
|
||||||
//! @note The first comma or period found is treated as decimal separator. Any subsequent comma or
|
//! @note The first comma or period found is treated as decimal separator. Any subsequent comma or
|
||||||
//! period that is found will cause parsing to be aborted and return false.
|
//! period that is found will cause parsing to be aborted and return false.
|
||||||
//! @note An empty / zero-length string still will fail to parse and return false.
|
//! @note An empty / zero-length string still will fail to parse and return false.
|
||||||
|
|
|
@ -20,5 +20,5 @@
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
//! @param rand_out Storage for the 32-bit random number generated by the STM32
|
//! @param rand_out Storage for the 32-bit random number generated by the STM32
|
||||||
//! @return True if a random number was succesfully generated
|
//! @return True if a random number was successfully generated
|
||||||
bool rng_rand(uint32_t *rand_out);
|
bool rng_rand(uint32_t *rand_out);
|
||||||
|
|
|
@ -103,7 +103,7 @@ static Receiver *prv_app_message_receiver_prepare(CommSession *session,
|
||||||
rcv->header_bytes_remaining = header_bytes_remaining;
|
rcv->header_bytes_remaining = header_bytes_remaining;
|
||||||
|
|
||||||
// Always forward the header to default system receiver as well, we'll cancel it later on if the
|
// Always forward the header to default system receiver as well, we'll cancel it later on if the
|
||||||
// message was written succesfully to the app inbox.
|
// message was written successfully to the app inbox.
|
||||||
if (!prv_fwd_prepare(rcv, session, header_bytes_remaining)) {
|
if (!prv_fwd_prepare(rcv, session, header_bytes_remaining)) {
|
||||||
kernel_free(rcv);
|
kernel_free(rcv);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -69,7 +69,7 @@ typedef void (*BlobDBInitImpl)(void);
|
||||||
//! \param key_len the length of the key, in bytes
|
//! \param key_len the length of the key, in bytes
|
||||||
//! \param val a pointer to the value data
|
//! \param val a pointer to the value data
|
||||||
//! \param val_len the length of the value, in bytes
|
//! \param val_len the length of the value, in bytes
|
||||||
//! \returns S_SUCCESS if the key/val pair was succesfully inserted
|
//! \returns S_SUCCESS if the key/val pair was successfully inserted
|
||||||
//! and an error code otherwise (See \ref StatusCode)
|
//! and an error code otherwise (See \ref StatusCode)
|
||||||
typedef status_t (*BlobDBInsertImpl)
|
typedef status_t (*BlobDBInsertImpl)
|
||||||
(const uint8_t *key, int key_len, const uint8_t *val, int val_len);
|
(const uint8_t *key, int key_len, const uint8_t *val, int val_len);
|
||||||
|
@ -87,7 +87,7 @@ typedef int (*BlobDBGetLenImpl)
|
||||||
//! \param key_len the length of the key, in bytes
|
//! \param key_len the length of the key, in bytes
|
||||||
//! \param[out] val_out a pointer to a buffer of size val_len
|
//! \param[out] val_out a pointer to a buffer of size val_len
|
||||||
//! \param val_len the length of the value to be copied, in bytes
|
//! \param val_len the length of the value to be copied, in bytes
|
||||||
//! \returns S_SUCCESS if the value for key was succesfully read,
|
//! \returns S_SUCCESS if the value for key was successfully read,
|
||||||
//! and an error code otherwise (See \ref StatusCode)
|
//! and an error code otherwise (See \ref StatusCode)
|
||||||
typedef status_t (*BlobDBReadImpl)
|
typedef status_t (*BlobDBReadImpl)
|
||||||
(const uint8_t *key, int key_len, uint8_t *val_out, int val_len);
|
(const uint8_t *key, int key_len, uint8_t *val_out, int val_len);
|
||||||
|
@ -95,13 +95,13 @@ typedef status_t (*BlobDBReadImpl)
|
||||||
//! Implements the delete API. Note that this function should be blocking.
|
//! Implements the delete API. Note that this function should be blocking.
|
||||||
//! \param key a pointer to the key data
|
//! \param key a pointer to the key data
|
||||||
//! \param key_len the length of the key, in bytes
|
//! \param key_len the length of the key, in bytes
|
||||||
//! \returns S_SUCCESS if the key/val pair was succesfully deleted
|
//! \returns S_SUCCESS if the key/val pair was successfully deleted
|
||||||
//! and an error code otherwise (See \ref StatusCode)
|
//! and an error code otherwise (See \ref StatusCode)
|
||||||
typedef status_t (*BlobDBDeleteImpl)
|
typedef status_t (*BlobDBDeleteImpl)
|
||||||
(const uint8_t *key, int key_len);
|
(const uint8_t *key, int key_len);
|
||||||
|
|
||||||
//! Implements the flush API. Note that this function should be blocking.
|
//! Implements the flush API. Note that this function should be blocking.
|
||||||
//! \returns S_SUCCESS if all key/val pairs were succesfully deleted
|
//! \returns S_SUCCESS if all key/val pairs were successfully deleted
|
||||||
//! and an error code otherwise (See \ref StatusCode)
|
//! and an error code otherwise (See \ref StatusCode)
|
||||||
typedef status_t (*BlobDBFlushImpl)(void);
|
typedef status_t (*BlobDBFlushImpl)(void);
|
||||||
|
|
||||||
|
|
|
@ -899,7 +899,7 @@ static status_t create_flash_file(File *f) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// we have succesfully allocated space for the file, so add file specific info
|
// we have successfully allocated space for the file, so add file specific info
|
||||||
f->start_page = f->curr_page = start_page;
|
f->start_page = f->curr_page = start_page;
|
||||||
|
|
||||||
FileHeader file_hdr;
|
FileHeader file_hdr;
|
||||||
|
|
|
@ -269,7 +269,7 @@ void sys_process_get_wakeup_info(WakeupInfo *info);
|
||||||
const PebbleProcessMd* sys_process_manager_get_current_process_md(void);
|
const PebbleProcessMd* sys_process_manager_get_current_process_md(void);
|
||||||
|
|
||||||
//! Copy UUID for the current process.
|
//! Copy UUID for the current process.
|
||||||
//! @return True if the UUID was succesfully copied.
|
//! @return True if the UUID was successfully copied.
|
||||||
bool sys_process_manager_get_current_process_uuid(Uuid *uuid_out);
|
bool sys_process_manager_get_current_process_uuid(Uuid *uuid_out);
|
||||||
|
|
||||||
//! Get the AppInstallId for the current process
|
//! Get the AppInstallId for the current process
|
||||||
|
|
|
@ -27,7 +27,7 @@ typedef enum {
|
||||||
//! The operation was successful.
|
//! The operation was successful.
|
||||||
BTErrnoOK = 0,
|
BTErrnoOK = 0,
|
||||||
|
|
||||||
//! Connection established succesfully.
|
//! Connection established successfully.
|
||||||
BTErrnoConnected = BTErrnoOK,
|
BTErrnoConnected = BTErrnoOK,
|
||||||
|
|
||||||
//! One or more parameters were invalid.
|
//! One or more parameters were invalid.
|
||||||
|
|
|
@ -47,7 +47,7 @@ void bt_driver_handle_host_added_bonding(const BleBonding *bonding);
|
||||||
//! Called by the FW when a bonding is removed (i.e. user "Forgot" a bonding from Settings).
|
//! Called by the FW when a bonding is removed (i.e. user "Forgot" a bonding from Settings).
|
||||||
void bt_driver_handle_host_removed_bonding(const BleBonding *bonding);
|
void bt_driver_handle_host_removed_bonding(const BleBonding *bonding);
|
||||||
|
|
||||||
//! Called by the BT driver after succesfully pairing a new device.
|
//! Called by the BT driver after successfully pairing a new device.
|
||||||
//! @param addr The address that is used to refer to the connection. This is used to associate
|
//! @param addr The address that is used to refer to the connection. This is used to associate
|
||||||
//! the bonding with the GAPLEConnection.
|
//! the bonding with the GAPLEConnection.
|
||||||
extern void bt_driver_cb_handle_create_bonding(const BleBonding *bonding,
|
extern void bt_driver_cb_handle_create_bonding(const BleBonding *bonding,
|
||||||
|
|
2
wscript
2
wscript
|
@ -1429,7 +1429,7 @@ class gdb_prf(BuildContext):
|
||||||
|
|
||||||
def openocd(ctx):
|
def openocd(ctx):
|
||||||
""" Starts openocd and leaves it running. It will reset the board to
|
""" Starts openocd and leaves it running. It will reset the board to
|
||||||
increase the chances of attaching succesfully. """
|
increase the chances of attaching successfully. """
|
||||||
waftools.openocd.run_command(ctx, 'init; reset', shutdown=False)
|
waftools.openocd.run_command(ctx, 'init; reset', shutdown=False)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue