Skip to content

Commit

Permalink
- reset MTU back to 23 on new connection (noble#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepmistry committed Nov 19, 2015
1 parent ceb2151 commit e7dbeb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/hci-socket/gatt.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ Gatt.prototype.setServices = function(services) {
};

Gatt.prototype.setAclStream = function(aclStream) {
this._mtu = 23;

this._aclStream = aclStream;

this._aclStream.on('data', this.onAclStreamDataBinded);
Expand Down

0 comments on commit e7dbeb8

Please sign in to comment.