diff --git a/attrib/att.c b/attrib/att.c
index 972f8bf..1ce0f7b 100644
--- a/attrib/att.c
+++ b/attrib/att.c
case ATT_ECODE_INVALID_HANDLE:
return "Invalid handle";
case ATT_ECODE_READ_NOT_PERM:
- return "Atribute can't be read";
+ return "Attribute can't be read";
case ATT_ECODE_WRITE_NOT_PERM:
return "Attribute can't be written";
case ATT_ECODE_INVALID_PDU:
diff --git a/attrib/gatttool.c b/attrib/gatttool.c
index cf052db..17ee913 100644
--- a/attrib/gatttool.c
+++ b/attrib/gatttool.c
goto done;
}
- g_print("Characteristic value was written sucessfully\n");
+ g_print("Characteristic value was written successfully\n");
done:
if (opt_listen == FALSE)
diff --git a/audio/avdtp.c b/audio/avdtp.c
index e8a4007..c7e5f87 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
}
if (session->in.signal_id != session->req->signal_id) {
- error("Reponse signal doesn't match");
+ error("Response signal doesn't match");
return TRUE;
}
case AVDTP_BAD_HEADER_FORMAT:
return "Bad Header Format";
case AVDTP_BAD_LENGTH:
- return "Bad Packet Lenght";
+ return "Bad Packet Length";
case AVDTP_BAD_ACP_SEID:
return "Bad Acceptor SEID";
case AVDTP_SEP_IN_USE:
diff --git a/audio/gstavdtpsink.c b/audio/gstavdtpsink.c
index cab366b..0f3abf3 100644
--- a/audio/gstavdtpsink.c
+++ b/audio/gstavdtpsink.c
err = gst_avdtp_sink_audioservice_send(self, &req->h);
if (err < 0) {
- GST_ERROR_OBJECT(self, "Error ocurred while sending "
+ GST_ERROR_OBJECT(self, "Error occurred while sending "
"start packet");
return FALSE;
}
err = gst_avdtp_sink_audioservice_send(self, &open_req->h);
if (err < 0) {
- GST_ERROR_OBJECT(self, "Error ocurred while sending "
+ GST_ERROR_OBJECT(self, "Error occurred while sending "
"open packet");
return FALSE;
}
req->h.length += req->codec.length - sizeof(req->codec);
err = gst_avdtp_sink_audioservice_send(self, &req->h);
if (err < 0) {
- GST_ERROR_OBJECT(self, "Error ocurred while sending "
+ GST_ERROR_OBJECT(self, "Error occurred while sending "
"configurarion packet");
return FALSE;
}
diff --git a/audio/gstsbcutil.c b/audio/gstsbcutil.c
index 63c90c2..ac5fcbf 100644
--- a/audio/gstsbcutil.c
+++ b/audio/gstsbcutil.c
}
/*
- * Given a GstCaps, this will return a fixed GstCaps on sucessfull conversion.
+ * Given a GstCaps, this will return a fixed GstCaps on successful conversion.
* If an error occurs, it will return NULL and error_message will contain the
* error message.
*
diff --git a/audio/ipc.h b/audio/ipc.h
index d69b97e..f595775 100644
--- a/audio/ipc.h
+++ b/audio/ipc.h
} __attribute__ ((packed));
/* This message is followed by one byte of data containing the stream data fd
- as ancilliary data */
+ as ancillary data */
struct bt_new_stream_ind {
bt_audio_msg_header_t h;
} __attribute__ ((packed));
diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index f34d58f..3a29295 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
boolean Powered [readwrite]
Switch an adapter on or off. This will also set the
- appropiate connectable state.
+ appropriate connectable state.
boolean Discoverable [readwrite]
diff --git a/doc/audio-api.txt b/doc/audio-api.txt
index 0f320d9..b85400b 100644
--- a/doc/audio-api.txt
+++ b/doc/audio-api.txt
Service availability indicatior of AG, where:
0 implies no service. No Home/Roam network available.
- 1 implies presense of service. Home/Roam network
+ 1 implies presence of service. Home/Roam network
available.
uint16 SignalStrength [readonly]
diff --git a/health/mcap.c b/health/mcap.c
index 793c32d..7bfc0dc 100644
--- a/health/mcap.c
+++ b/health/mcap.c
last->ctrl &= ~MCAP_CTRL_CACHED;
if (last->ctrl & MCAP_CTRL_CONN) {
/* We have to release this MCL if */
- /* connection is not succesful */
+ /* connection is not successful */
last->ctrl |= MCAP_CTRL_FREE;
} else {
mcap_mcl_release(last);
diff --git a/serial/proxy.c b/serial/proxy.c
index 457959c..f9aa41b 100644
--- a/serial/proxy.c
+++ b/serial/proxy.c
sk = open(address, O_RDONLY | O_NOCTTY);
if (sk < 0) {
- error("Cant open TTY: %s(%d)", strerror(errno), errno);
+ error("Can't open TTY: %s(%d)", strerror(errno), errno);
return -EINVAL;
}
diff --git a/src/sdpd-request.c b/src/sdpd-request.c
index 9920e9b..ff00df7 100644
--- a/src/sdpd-request.c
+++ b/src/sdpd-request.c
}
/*
- * Calculate Attribute size acording to MTU
+ * Calculate Attribute size according to MTU
* We can send only (MTU - sizeof(sdp_pdu_hdr_t) - sizeof(sdp_cont_state_t))
*/
max_rsp_size = MIN(max_rsp_size, req->mtu - sizeof(sdp_pdu_hdr_t) -
memset(tmpbuf.data, 0, USHRT_MAX);
/*
- * Calculate Attribute size acording to MTU
+ * Calculate Attribute size according to MTU
* We can send only (MTU - sizeof(sdp_pdu_hdr_t) - sizeof(sdp_cont_state_t))
*/
max = MIN(max, req->mtu - sizeof(sdp_pdu_hdr_t) - SDP_CONT_STATE_SIZE - sizeof(uint16_t));
diff --git a/test/apitest b/test/apitest
index b1c3f10..f1d51f1 100755
--- a/test/apitest
+++ b/test/apitest
print 'Usage: %s -i <dev> ListRecentRemoteDevices date' % self.name
else:
# FIXME: remove at future version
- print 'Script Error: Method %s not found. Maybe a mispelled word.' % (self.cmd_args)
+ print 'Script Error: Method %s not found. Maybe a misspelled word.' % (self.cmd_args)
except dbus.DBusException, e:
print '%s failed: %s' % (self.cmd, e)
sys.exit(1)
diff --git a/test/bdaddr.c b/test/bdaddr.c
index 683b3b9..f87fa38 100644
--- a/test/bdaddr.c
+++ b/test/bdaddr.c
printf("Reset device manually\n");
} else {
ioctl(dd, HCIDEVRESET, dev);
- printf("Device reset successully\n");
+ printf("Device reset successfully\n");
}
} else {
printf("Reset device now\n");
diff --git a/test/sap-client b/test/sap-client
index b12d455..413424c 100644
--- a/test/sap-client
+++ b/test/sap-client
try:
params = self.__rcvMsg(SAPMessage_DISCONNECT_IND()).getParams()
- """gracefull"""
+ """graceful"""
if params[0].getValue() == 0x00:
if not self.proc_transferAPDU():
return False
diff --git a/test/test-health b/test/test-health
index 28cc894..16a5a2b 100755
--- a/test/test-health
+++ b/test/test-health
if role == "Source":
while pref == None:
try:
- print "Select a prefered data channel type 1.",
+ print "Select a preferred data channel type 1.",
print "reliable 2. streaming: ",
sel = int(sys.stdin.readline())
if sel == 1:
diff --git a/tools/hciattach.c b/tools/hciattach.c
index 93bdaac..1b577ec 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
nanosleep(&tm, NULL);
// now the uart baud rate on the silicon wave module is set and effective.
- // change our own baud rate as well. Then there is a reset event comming in
+ // change our own baud rate as well. Then there is a reset event coming in
// on the *new* baud rate. This is *undocumented*! The packet looks like this:
// 04 FF 01 0B (which would make that a confirmation of 0x0B = "Param
// subcommand class". So: change to new baud rate, read with timeout, parse
// data, error handling. BTW: all param access in Silicon Wave is done this way.
- // Maybe this code would belong in a seperate file, or at least code reuse...
+ // Maybe this code would belong in a separate file, or at least code reuse...
return 0;
}
diff --git a/tools/rfcomm.1 b/tools/rfcomm.1
index 06252e5..06303cd 100644
--- a/tools/rfcomm.1
+++ b/tools/rfcomm.1
a channel must be specified before cmd. If cmd is given, it will be
executed as soon as a client connects. When the child process
terminates or the client disconnect, the command will terminate.
-Occurences of {} in cmd will be replaced by the name of the device
+Occurrences of {} in cmd will be replaced by the name of the device
used by the connection. This command can be terminated with the key
sequence CTRL-C.
.TP
diff --git a/tools/ubcsp.c b/tools/ubcsp.c
index 93b8c0f..b3f883a 100644
--- a/tools/ubcsp.c
+++ b/tools/ubcsp.c
activity |= UBCSP_PACKET_RECEIVED;
}
- }
- }
-
- /* Just return any activity that occured */
-
- return activity;
-}
+ }
+ }
+
+ /* Just return any activity that occurred */
+
+ return activity;
+}
/*****************************************************************************/
/** **/
ubcsp_config.receive_index ++;
}
- else if (ubcsp_config.receive_index < ubcsp_config.receive_packet->length)
- {
- /* We are receiving the payload */
- /* We might stop comming here if we are receiving a
- packet which is longer than the receive_packet->length
- given by the host */
-
+ else if (ubcsp_config.receive_index < ubcsp_config.receive_packet->length)
+ {
+ /* We are receiving the payload */
+ /* We might stop coming here if we are receiving a
+ packet which is longer than the receive_packet->length
+ given by the host */
+
ubcsp_config.receive_packet->payload[ubcsp_config.receive_index] = value;
ubcsp_config.receive_index ++;