diff --git a/source/Helper/PTDIntelHex.m b/source/Helper/PTDIntelHex.m index a1454ec..090a9df 100644 --- a/source/Helper/PTDIntelHex.m +++ b/source/Helper/PTDIntelHex.m @@ -141,7 +141,7 @@ - (NSUInteger)numberFromHexString:(NSString *)hexString /** * Parse raw bytes from a string containing ASCII hex characters. - * @param The string with ASCII hex characters + * @param hexString The string with ASCII hex characters * @param offset The offset of the first character in the slice. 0 starts from the beginning of the string. * @param len The number of characters in the slice * @return An NSData object containing the raw bytes from the hex string @@ -154,7 +154,7 @@ - (NSData *)bytesFromHexString:(NSString *)hexString offset:(NSUInteger)offset l /** * Parse raw bytes from a string containing ASCII hex characters. - * @param The string with ASCII hex characters + * @param hexString The string with ASCII hex characters * @return An NSData object containing the raw bytes from the hex string */ - (NSData *)bytesFromHexString:(NSString *)hexString diff --git a/source/Profiles/OAD/OadProfile.m b/source/Profiles/OAD/OadProfile.m index c7e6793..b896d98 100644 --- a/source/Profiles/OAD/OadProfile.m +++ b/source/Profiles/OAD/OadProfile.m @@ -363,7 +363,7 @@ - (void)enableNotify /** * Offer one OAD image to Bean. * - * @param firstImage YES to offer the first image to Bean, NO to offer the next unoffered image + * @param offerFirstImage YES to offer the first image to Bean, NO to offer the next unoffered image */ - (void)offerOneImageUsingFirstImage:(BOOL)offerFirstImage { diff --git a/source/Public/PTDBean.h b/source/Public/PTDBean.h index d48895e..fe1b906 100644 --- a/source/Public/PTDBean.h +++ b/source/Public/PTDBean.h @@ -299,7 +299,7 @@ typedef NS_ENUM(NSUInteger, BeanBluetoothError) { * A serious error has occurred that Bean can't resolve. The client must resolve this issue. * * @param bean The Bean that encountered this issue - * @param bluetoothError a BeanBluetoothError indicating what went wrong + * @param error a BeanBluetoothError indicating what went wrong */ - (void)bean:(PTDBean *)bean bluetoothError:(BeanBluetoothError)error; @@ -470,7 +470,7 @@ typedef NS_ENUM(NSUInteger, BeanBluetoothError) { /** * Temporarily turns the Bean's Arduino on or off. * - * @param "YES" sets the Arduino to a powered-on state and "NO" is a shutdown state. + * @param state "YES" sets the Arduino to a powered-on state and "NO" is a shutdown state. */ -(void)setArduinoPowerState:(ArduinoPowerState)state; /** @@ -607,7 +607,7 @@ typedef NS_ENUM(NSUInteger, BeanBluetoothError) { /** * Requests Bean's current scratch bank data. * @discussion When you call this method to read one of the Bean's scratch banks, the bean calls the [PTDBeanDelegate bean:didUpdateScratchBank:withValue:] method of its delegate object. - * @param The index of the scratch bank to request, from 1 to 5. + * @param bank The index of the scratch bank to request, from 1 to 5. * @see [PTDBeanDelegate bean:didUpdateScratchBank:withValue:] */ -(void)readScratchBank:(NSInteger)bank;