Commit 544996e63339d416faa922cf08d5075d3f0148ae
- Diff rendering mode:
- inline
- side by side
Makefile.in
(0 / 3)
|   | |||
| 1 | 1 | # Makefile for the mlan library | |
| 2 | 2 | # | |
| 3 | 3 | # Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 4 | # | ||
| 5 | # $Id: Makefile.in,v 1.23 2002/01/29 07:48:42 dustin Exp $ | ||
| 6 | # arch-tag: 5D00801E-13E5-11D8-B7FE-000393CFE6B8 | ||
| 7 | 4 | ||
| 8 | 5 | SHELL=/bin/sh | |
| 9 | 6 | AR=@AR@ |
README.ibutton
(0 / 4)
|   | |||
| 104 | 104 | <serial number> | |
| 105 | 105 | The serial number of the device to retrieve all the settings | |
| 106 | 106 | for. | |
| 107 | |||
| 108 | |||
| 109 | -- | ||
| 110 | # arch-tag: 10193B13-77E7-11D8-BA36-000A957659CC |
TODO
(0 / 3)
|   | |||
| 2 | 2 | Build a test suite to validate integrity and stuff. | |
| 3 | 3 | Add max connection lifetime and read timeouts and stuff. | |
| 4 | 4 | Add a live update mode. | |
| 5 | |||
| 6 | -- | ||
| 7 | # arch-tag: 5341807-599-118-82-0030187026 |
arch.config
(0 / 2)
|   | |||
| 1 | # arch-tag: 46E89C6A-13E7-11D8-8222-000393CFE6B8 | ||
| 2 | |||
| 3 | 1 | # Need mymalloc | |
| 4 | 2 | ./mymalloc dustin@spy.net--projects/clib--mymalloc--1.0 | |
| 5 | 3 | ./stringlib dustin@spy.net--projects-2006/clib--strings--1.0 |
builddist
(0 / 1)
|   | |||
| 1 | 1 | #!/bin/sh | |
| 2 | # arch-tag: 435F17CE-77E9-11D8-8F7C-000A957659CC | ||
| 3 | 2 | ||
| 4 | 3 | fn=ibutton.tar | |
| 5 | 4 |
collection/Makefile.in
(0 / 1)
|   | |||
| 1 | # arch-tag: C3C33271-13E5-11D8-B15A-000393CFE6B8 | ||
| 2 | 1 | SHELL=/bin/sh | |
| 3 | 2 | AR=@AR@ | |
| 4 | 3 | RANLIB=@RANLIB@ |
collection/collection.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2002 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: collection.h,v 1.3 2002/01/30 09:52:07 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef COLLECTION_H | |
| … | … | ||
| 30 | 30 | #define verboseprint(a, b) if(col_verbose>=a) { printf b; } | |
| 31 | 31 | ||
| 32 | 32 | #endif /* COLLECTION_H */ | |
| 33 | |||
| 34 | /* | ||
| 35 | * arch-tag: BBEE73A9-13E5-11D8-9CB1-000393CFE6B8 | ||
| 36 | */ |
collection/collector.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2002 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: collector.c,v 1.10 2002/01/29 23:07:16 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <sys/types.h> | |
| … | … | ||
| 316 | 316 | mainloop(); | |
| 317 | 317 | return(0); | |
| 318 | 318 | } | |
| 319 | |||
| 320 | /* | ||
| 321 | * arch-tag: BBD6CC16-13E5-11D8-8785-000393CFE6B8 | ||
| 322 | */ |
collection/data.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2002 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: data.c,v 1.15 2002/01/31 00:53:03 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <stdio.h> | |
| … | … | ||
| 273 | 273 | disposeOfLogEntry(entry); | |
| 274 | 274 | } | |
| 275 | 275 | #endif | |
| 276 | |||
| 277 | /* | ||
| 278 | * arch-tag: BBE0839E-13E5-11D8-A265-000393CFE6B8 | ||
| 279 | */ |
collection/data.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2002 Dustin Sallings | |
| 3 | * | ||
| 4 | * $Id: data.h,v 1.11 2002/01/30 21:09:17 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef DATA_H | |
| … | … | ||
| 65 | 65 | void disposeOfRRDQueue(struct data_queue *dl); | |
| 66 | 66 | ||
| 67 | 67 | #endif | |
| 68 | |||
| 69 | /* | ||
| 70 | * arch-tag: BBF74734-13E5-11D8-9F04-000393CFE6B8 | ||
| 71 | */ |
collection/sensors.sql
(0 / 1)
|   | |||
| 1 | 1 | -- Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 2 | -- | ||
| 3 | 2 | ||
| 4 | 3 | -- Different types of sensors | |
| 5 | 4 | create table sensor_types ( |
collection/storage-pgsql.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2002 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: storage-pgsql.c,v 1.4 2002/01/29 21:36:11 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <sys/types.h> | |
| … | … | ||
| 127 | 127 | } | |
| 128 | 128 | } | |
| 129 | 129 | #endif /* HAVE_LIBPQ_FE_H */ | |
| 130 | |||
| 131 | /* | ||
| 132 | * arch-tag: BBE5FB3C-13E5-11D8-BC82-000393CFE6B8 | ||
| 133 | */ |
collection/storage-pgsql.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2002 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: storage-pgsql.h,v 1.3 2002/01/29 21:36:12 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef STORAGE_PGSQL_H | |
| … | … | ||
| 20 | 20 | void initPostgresStore(); | |
| 21 | 21 | ||
| 22 | 22 | #endif /* STORAGE_PGSQL_H */ | |
| 23 | |||
| 24 | /* | ||
| 25 | * arch-tag: BBFBC21E-13E5-11D8-969A-000393CFE6B8 | ||
| 26 | */ |
collection/storage-rrd.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2002 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: storage-rrd.c,v 1.8 2002/01/30 21:10:30 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <sys/types.h> | |
| … | … | ||
| 161 | 161 | freeList(args); | |
| 162 | 162 | } | |
| 163 | 163 | #endif /* HAVE_RRD_H */ | |
| 164 | |||
| 165 | /* | ||
| 166 | * arch-tag: BBEA7658-13E5-11D8-900C-000393CFE6B8 | ||
| 167 | */ |
collection/storage-rrd.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2002 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: storage-rrd.h,v 1.2 2002/01/29 21:36:15 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef STORAGE_RRD_H | |
| … | … | ||
| 8 | 8 | void saveDataRRD(struct log_datum *p); | |
| 9 | 9 | ||
| 10 | 10 | #endif /* STORAGE_RRD_H */ | |
| 11 | |||
| 12 | /* | ||
| 13 | * arch-tag: BC002423-13E5-11D8-8599-000393CFE6B8 | ||
| 14 | */ |
commands/1920.c
(0 / 4)
|   | |||
| 56 | 56 | ||
| 57 | 57 | exit(0); | |
| 58 | 58 | } | |
| 59 | |||
| 60 | /* | ||
| 61 | * arch-tag: 1FF35BA8-13E5-11D8-A40F-000393CFE6B8 | ||
| 62 | */ |
commands/1921dump.c
(0 / 4)
|   | |||
| 176 | 176 | ||
| 177 | 177 | exit(0); | |
| 178 | 178 | } | |
| 179 | |||
| 180 | /* | ||
| 181 | * arch-tag: 1FF99273-13E5-11D8-BBB6-000393CFE6B8 | ||
| 182 | */ |
commands/1921mission.c
(0 / 4)
|   | |||
| 122 | 122 | ||
| 123 | 123 | exit(0); | |
| 124 | 124 | } | |
| 125 | |||
| 126 | /* | ||
| 127 | * arch-tag: 1FFB7570-13E5-11D8-B9F6-000393CFE6B8 | ||
| 128 | */ |
commands/2406.c
(0 / 4)
|   | |||
| 64 | 64 | ||
| 65 | 65 | exit(0); | |
| 66 | 66 | } | |
| 67 | |||
| 68 | /* | ||
| 69 | * arch-tag: 200018B3-13E5-11D8-9272-000393CFE6B8 | ||
| 70 | */ |
commands/2438.c
(0 / 4)
|   | |||
| 43 | 43 | ||
| 44 | 44 | exit(0); | |
| 45 | 45 | } | |
| 46 | |||
| 47 | /* | ||
| 48 | * arch-tag: 2006DC74-13E5-11D8-9B02-000393CFE6B8 | ||
| 49 | */ |
commands/Makefile.in
(0 / 2)
|   | |||
| 1 | 1 | # Makefile for the 1wire commands | |
| 2 | 2 | # | |
| 3 | 3 | # Copyright (c) 2004 Dustin Sallings <dustin@spy.net> | |
| 4 | # | ||
| 5 | # arch-tag: 00905-43-118-82-0030187026 | ||
| 6 | 4 | ||
| 7 | 5 | SHELL=/bin/sh | |
| 8 | 6 | AR=@AR@ |
commands/lookup.c
(0 / 4)
|   | |||
| 42 | 42 | mlan->destroy(mlan); | |
| 43 | 43 | return(0); | |
| 44 | 44 | } | |
| 45 | |||
| 46 | /* | ||
| 47 | * arch-tag: 204206D1-13E5-11D8-91CF-000393CFE6B8 | ||
| 48 | */ |
commands/mlanscm.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2001 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: mlanscm.c,v 1.10 2002/01/30 08:18:13 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <stdio.h> | |
| … | … | ||
| 399 | 399 | gh_enter(argc, argv, inner_main); | |
| 400 | 400 | return(0); | |
| 401 | 401 | } | |
| 402 | |||
| 403 | /* | ||
| 404 | * arch-tag: 204F3926-13E5-11D8-92C5-000393CFE6B8 | ||
| 405 | */ |
commands/sample_devices.c
(0 / 3)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: sample_devices.c,v 1.32 2002/01/30 00:46:21 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | /*{{{ Includes */ | |
| … | … | ||
| 902 | 902 | /*}}}*/ | |
| 903 | 903 | ||
| 904 | 904 | /* | |
| 905 | * arch-tag: 205805D4-13E5-11D8-ADF3-000393CFE6B8 | ||
| 906 | 905 | * vim: foldmethod=marker | |
| 907 | 906 | */ |
commands/sample_devices.h
(0 / 2)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2004 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * arch-tag: 35564-48-118-82-0030187026 | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef SAMPLE_DEVICES_H |
commands/sd_server.c
(0 / 1)
|   | |||
| 630 | 630 | /* }}}1 */ | |
| 631 | 631 | ||
| 632 | 632 | /* | |
| 633 | * arch-tag: 623333-49-118-82-0030187026 | ||
| 634 | 633 | * vim: foldmethod=marker | |
| 635 | 634 | */ |
commands/search.c
(0 / 4)
|   | |||
| 72 | 72 | ||
| 73 | 73 | return(0); | |
| 74 | 74 | } | |
| 75 | |||
| 76 | /* | ||
| 77 | * arch-tag: 205CDD06-13E5-11D8-A7E6-000393CFE6B8 | ||
| 78 | */ |
commands/slew.c
(0 / 4)
|   | |||
| 50 | 50 | mlan->destroy(mlan); | |
| 51 | 51 | return(0); | |
| 52 | 52 | } | |
| 53 | |||
| 54 | /* | ||
| 55 | * arch-tag: 20612400-13E5-11D8-9FC5-000393CFE6B8 | ||
| 56 | */ |
commands/storage.c
(0 / 4)
|   | |||
| 328 | 328 | ||
| 329 | 329 | exit(0); | |
| 330 | 330 | } | |
| 331 | |||
| 332 | /* | ||
| 333 | * arch-tag: 2068E1F8-13E5-11D8-A856-000393CFE6B8 | ||
| 334 | */ |
configure.in
(0 / 1)
|   | |||
| 1 | dnl $Id: configure.in,v 1.18 2002/01/30 05:11:54 dustin Exp $ | ||
| 2 | 1 | dnl Process this file with autoconf to produce a configure script. | |
| 3 | 2 | AC_INIT(mlan/mlan.c) | |
| 4 | 3 |
mlan/Makefile.in
(0 / 2)
|   | |||
| 1 | 1 | # Makefile for the mlan library | |
| 2 | 2 | # | |
| 3 | 3 | # Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 4 | # | ||
| 5 | # arch-tag: 6047-49-118-82-0030187026 | ||
| 6 | 4 | ||
| 7 | 5 | SHELL=/bin/sh | |
| 8 | 6 | AR=@AR@ |
mlan/com.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: com.c,v 1.11 2000/07/15 23:12:17 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <stdio.h> | |
| … | … | ||
| 329 | 329 | } | |
| 330 | 330 | /* mlan_debug(mlan, 2, ("Returning from break\n")); */ | |
| 331 | 331 | } | |
| 332 | |||
| 333 | /* | ||
| 334 | * arch-tag: 200A752B-13E5-11D8-BF6D-000393CFE6B8 | ||
| 335 | */ |
mlan/commands.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: commands.h,v 1.4 2001/08/29 09:27:50 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef COMMANDS_H | |
| … | … | ||
| 41 | 41 | #define DS2438READ_SCRATCHPAD 0xbe | |
| 42 | 42 | ||
| 43 | 43 | #endif /* COMMANDS_H */ | |
| 44 | |||
| 45 | /* | ||
| 46 | * arch-tag: 200C3FEE-13E5-11D8-9303-000393CFE6B8 | ||
| 47 | */ |
mlan/common.c
(0 / 2)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2004 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * arch-tag: 119160-40-118-82-0030187026 | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <stdio.h> |
mlan/devices.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: devices.c,v 1.19 2002/01/30 09:22:07 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <stdio.h> | |
| … | … | ||
| 131 | 131 | } | |
| 132 | 132 | return(ret); | |
| 133 | 133 | } | |
| 134 | |||
| 135 | /* | ||
| 136 | * arch-tag: 200E12F8-13E5-11D8-AFE6-000393CFE6B8 | ||
| 137 | */ |
mlan/ds1920.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: ds1920.c,v 1.7 2002/01/29 19:19:05 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <stdio.h> | |
| … | … | ||
| 200 | 200 | data.valid=TRUE; | |
| 201 | 201 | return(data); | |
| 202 | 202 | } | |
| 203 | |||
| 204 | /* | ||
| 205 | * arch-tag: 2011D768-13E5-11D8-B2D7-000393CFE6B8 | ||
| 206 | */ |
mlan/ds1920.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: ds1920.h,v 1.3 2000/07/16 21:35:25 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef DS1920_H | |
| … | … | ||
| 26 | 26 | #define ds1920temp_convert_in(a) ( (int) (((a)+0.25)*2) ) | |
| 27 | 27 | ||
| 28 | 28 | #endif /* DS1920_H */ | |
| 29 | |||
| 30 | /* | ||
| 31 | * arch-tag: 201AEEC1-13E5-11D8-A823-000393CFE6B8 | ||
| 32 | */ |
mlan/ds1921.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2001 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: ds1921.c,v 1.30 2002/01/30 09:22:08 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | #include <stdio.h> | |
| 7 | 5 | #include <assert.h> | |
| … | … | ||
| 594 | 594 | finished: | |
| 595 | 595 | return(data); | |
| 596 | 596 | } | |
| 597 | |||
| 598 | /* | ||
| 599 | * arch-tag: 201EF4BC-13E5-11D8-BA49-000393CFE6B8 | ||
| 600 | */ |
mlan/ds1921.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: ds1921.h,v 1.10 2002/01/29 10:33:10 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef DS1921_H | |
| … | … | ||
| 124 | 124 | #define ds1921temp_convert_in(a) ( ((a)*2) + 80) | |
| 125 | 125 | ||
| 126 | 126 | #endif /* DS1921_H */ | |
| 127 | |||
| 128 | /* | ||
| 129 | * arch-tag: 20235CA4-13E5-11D8-90C8-000393CFE6B8 | ||
| 130 | */ |
mlan/ds2406.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: ds2406.c,v 1.1 2000/09/17 09:20:09 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <stdio.h> | |
| … | … | ||
| 145 | 145 | rv=setDS2406Status(mlan, serial, status); | |
| 146 | 146 | return(rv); | |
| 147 | 147 | } | |
| 148 | |||
| 149 | /* | ||
| 150 | * arch-tag: 2027C0E2-13E5-11D8-8AA9-000393CFE6B8 | ||
| 151 | */ |
mlan/ds2406.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: ds2406.h,v 1.1 2000/09/17 09:20:11 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef DS2406_H | |
| … | … | ||
| 19 | 19 | int setDS2406Switch(MLan *mlan, uchar *serial, int switchPort, int onoff); | |
| 20 | 20 | ||
| 21 | 21 | #endif /* DS2406_H */ | |
| 22 | |||
| 23 | /* | ||
| 24 | * arch-tag: 202E9470-13E5-11D8-9E67-000393CFE6B8 | ||
| 25 | */ |
mlan/ds2438.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2001 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: ds2438.c,v 1.2 2001/10/04 05:54:08 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <stdio.h> | |
| … | … | ||
| 270 | 270 | ||
| 271 | 271 | return(data); | |
| 272 | 272 | } | |
| 273 | |||
| 274 | /* | ||
| 275 | * arch-tag: 20329D8C-13E5-11D8-B85B-000393CFE6B8 | ||
| 276 | */ |
mlan/ds2438.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: ds2438.h,v 1.1 2001/08/29 09:27:55 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef DS2438_H | |
| … | … | ||
| 18 | 18 | struct ds2438_data getDS2438Data(MLan *mlan, uchar *serial); | |
| 19 | 19 | ||
| 20 | 20 | #endif /* DS2438_H */ | |
| 21 | |||
| 22 | /* | ||
| 23 | * arch-tag: 203729CB-13E5-11D8-921A-000393CFE6B8 | ||
| 24 | */ |
mlan/ds2480.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: ds2480.c,v 1.9 1999/12/09 08:48:04 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <stdio.h> | |
| … | … | ||
| 107 | 107 | ||
| 108 | 108 | return(mlan->baud); | |
| 109 | 109 | } | |
| 110 | |||
| 111 | /* | ||
| 112 | * arch-tag: 203B61AE-13E5-11D8-BD00-000393CFE6B8 | ||
| 113 | */ |
mlan/mlan-defines.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: mlan.h,v 1.22 2002/01/30 09:51:20 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef MLAN_UTILITY_H | |
| … | … | ||
| 205 | 205 | #define FTOC(a) (((float)a-32.0)*5.0/9.0) | |
| 206 | 206 | ||
| 207 | 207 | #endif /* MLAN_UTILITY_H */ | |
| 208 | |||
| 209 | /* | ||
| 210 | * arch-tag: 221-92-118-93-0030187026 | ||
| 211 | */ |
mlan/mlan.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: mlan.c,v 1.28 2002/01/30 09:51:18 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #include <stdio.h> | |
| … | … | ||
| 903 | 903 | } | |
| 904 | 904 | return(rv); | |
| 905 | 905 | } | |
| 906 | |||
| 907 | /* | ||
| 908 | * arch-tag: 20466FD1-13E5-11D8-BE72-000393CFE6B8 | ||
| 909 | */ |
mlan/mlan.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 1999 Dustin Sallings <dustin@spy.net> | |
| 3 | * | ||
| 4 | * $Id: mlan.h,v 1.22 2002/01/30 09:51:20 dustin Exp $ | ||
| 5 | 3 | */ | |
| 6 | 4 | ||
| 7 | 5 | #ifndef MLAN_H | |
| … | … | ||
| 111 | 111 | ||
| 112 | 112 | ||
| 113 | 113 | #endif /* MLAN_H */ | |
| 114 | |||
| 115 | /* | ||
| 116 | * arch-tag: 204AD731-13E5-11D8-A732-000393CFE6B8 | ||
| 117 | */ |
mlan/utility.c
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2002 Dustin Sallings <dustin@spy.net> | |
| 3 | 3 | * | |
| 4 | * $Id: utility.c,v 1.1 2002/01/23 23:56:04 dustin Exp $ | ||
| 5 | * | ||
| 6 | 4 | * This file deals with stuff that's missing on some systems. | |
| 7 | 5 | */ | |
| 8 | 6 | ||
| … | … | ||
| 41 | 41 | r[j]=0x00; | |
| 42 | 42 | return(r); | |
| 43 | 43 | } | |
| 44 | |||
| 45 | /* | ||
| 46 | * arch-tag: 206E5026-13E5-11D8-ABCC-000393CFE6B8 | ||
| 47 | */ |
mlan/utility.h
(0 / 6)
|   | |||
| 1 | 1 | /* | |
| 2 | 2 | * Copyright (c) 2002 Dustin Sallings <dustin@spy.net> | |
| 3 | 3 | * | |
| 4 | * $Id: utility.h,v 1.1 2002/01/23 23:56:05 dustin Exp $ | ||
| 5 | * | ||
| 6 | 4 | * This file deals with stuff that's missing on some systems. | |
| 7 | 5 | */ | |
| 8 | 6 | ||
| … | … | ||
| 26 | 26 | char *get_serial(uchar *serial); | |
| 27 | 27 | ||
| 28 | 28 | #endif /* UTILITY_H */ | |
| 29 | |||
| 30 | /* | ||
| 31 | * arch-tag: 20729E67-13E5-11D8-9BD6-000393CFE6B8 | ||
| 32 | */ |
scheme/1920.scm
(0 / 2)
|   | |||
| 1 | 1 | #!./mlanscm -s | |
| 2 | 2 | !# | |
| 3 | 3 | ; Copyright (c) 2001 Dustin Sallings <dustin@spy.net> | |
| 4 | ; $Id: 1920.scm,v 1.3 2001/12/11 08:26:07 dustin Exp $ | ||
| 5 | ; arch-tag: EA4E2E69-13E5-11D8-ADF0-000393CFE6B8 | ||
| 6 | 4 | ||
| 7 | 5 | (define ds1920-convert-temperature #x44) | |
| 8 | 6 | (define ds1920-read-scratchpad #xbe) |
scheme/1921.scm
(0 / 2)
|   | |||
| 1 | 1 | #!./mlanscm -s | |
| 2 | 2 | !# | |
| 3 | 3 | ; Copyright (c) 2001 Dustin Sallings <dustin@spy.net> | |
| 4 | ; $Id: 1921.scm,v 1.2 2002/01/30 09:22:12 dustin Exp $ | ||
| 5 | ; arch-tag: F78710DA-13E5-11D8-BEC7-000393CFE6B8 | ||
| 6 | 4 | ||
| 7 | 5 | ; Temperature conversion for 1921's | |
| 8 | 6 | (define (ds1921-convert-out x) |
scheme/alldev.scm
(0 / 2)
|   | |||
| 1 | 1 | ; (define (l) (load "alldev.scm")) | |
| 2 | 2 | ; Copyright (c) 2001 Dustin Sallings <dustin@spy.net> | |
| 3 | ; $Id: alldev.scm,v 1.2 2001/12/10 08:23:16 dustin Exp $ | ||
| 4 | ; arch-tag: FD6D3437-13E5-11D8-AB58-000393CFE6B8 | ||
| 5 | 3 | (load "1920.scm") | |
| 6 | 4 | ||
| 7 | 5 | (define ds-serial-table '( |
temp_convert.bc
(0 / 3)
|   | |||
| 1 | 1 | # Copyright (c) 2002 Dustin Sallings <dustin@spy.net> | |
| 2 | 2 | # | |
| 3 | # $Id: temp_convert.bc,v 1.1 2002/01/29 08:05:34 dustin Exp $ | ||
| 4 | # arch-tag: 670F37E3-13E5-11D8-8417-000393CFE6B8 | ||
| 5 | # | ||
| 6 | 3 | # For those who need conversions, here are bc functions. | |
| 7 | 4 | ||
| 8 | 5 | scale=5 |

