Permalink
Browse files

note on mac address formats

  • Loading branch information...
1 parent c5b39d6 commit da50d99d2d98531f236d5ad8407e152e99dd56fb @agnat committed Oct 16, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.textile
View
@@ -21,6 +21,12 @@ wol.wake('20:DE:20:DE:20:DE', function(error) {
h2. Reference
+MAC addresses may use any separator or no separator at all:
+
+pre. '20:DE:20:DE:20:DE'
+'20-DE-20-DE-20-DE'
+'20DE20DE20DE'
+
pre. wake(mac, [options, callback])
Send a sequence of Wake-on-LAN magic packets to the given MAC address. The callback is called when all packets have been sent or an error occurs. The _options_ object may have the following keys:

0 comments on commit da50d99

Please sign in to comment.